26.07.2018 Views

hacking-the-art-of-exploitation

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

told that 192.168.0.118 is also at 00:00:AD:D1:C7:ED. These spo<strong>of</strong>ed ARP packets<br />

can be injected using a command-line packet injection tool called Nemesis.<br />

Nemesis was originally a suite <strong>of</strong> tools written by Mark Grimes, but in <strong>the</strong><br />

most recent version 1.4, all functionality has been rolled up into a single<br />

utility by <strong>the</strong> new maintainer and developer, Jeff Nathan. The source code<br />

for Nemesis is on <strong>the</strong> LiveCD at /usr/src/nemesis-1.4/, and it has already<br />

been built and installed.<br />

reader@<strong>hacking</strong>:~/booksrc $ nemesis<br />

NEMESIS -=- The NEMESIS Project Version 1.4 (Build 26)<br />

NEMESIS Usage:<br />

nemesis [mode] [options]<br />

NEMESIS modes:<br />

arp<br />

dns<br />

e<strong>the</strong>rnet<br />

icmp<br />

igmp<br />

ip<br />

ospf (currently non-functional)<br />

rip<br />

tcp<br />

udp<br />

NEMESIS options:<br />

To display options, specify a mode with <strong>the</strong> option "help".<br />

reader@<strong>hacking</strong>:~/booksrc $ nemesis arp help<br />

ARP/RARP Packet Injection -=- The NEMESIS Project Version 1.4 (Build 26)<br />

ARP/RARP Usage:<br />

arp [-v (verbose)] [options]<br />

ARP/RARP Options:<br />

-S <br />

-D <br />

-h <br />

-m <br />

-s <br />

-r ({ARP,RARP} REPLY enable)<br />

-R (RARP enable)<br />

-P <br />

Data Link Options:<br />

-d <br />

-H <br />

-M <br />

You must define a Source and Destination IP address.<br />

242 0x400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!