User Tools

Site Tools


packetforge-ng

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
packetforge-ng [2009/01/23 22:01]
darkaudax Fixed typo.
packetforge-ng [2010/08/22 20:59] (current)
mister_x update "Usage" and fixed "mode" rendering
Line 10: Line 10:
 Usage: packetforge-ng <mode> <options> Usage: packetforge-ng <mode> <options>
  
-====Forge options:====+====Forge options====
  
       *-p <fctrl>     : set frame control word (hex)       *-p <fctrl>     : set frame control word (hex)
Line 24: Line 24:
       *-w <file>      : write packet to this pcap file       *-w <file>      : write packet to this pcap file
  
-====Source options:====+====Source options====
  
       *-r <file>      : read packet from this raw file       *-r <file>      : read packet from this raw file
       *-y <file>      : read PRGA from this file       *-y <file>      : read PRGA from this file
  
-====Modes (long modes use double dashes):====+====Modes ====
  
-      *--arp          : forge an ARP packet    (-0) +      *-''''-arp          : forge an ARP packet    (-0) 
-      *--udp          : forge an UDP packet    (-1) +      *-''''-udp          : forge an UDP packet    (-1) 
-      *--icmp         : forge an ICMP packet   (-2) +      *-''''-icmp         : forge an ICMP packet   (-2) 
-      *--null         : build a null packet (-3) +      *-''''-null         : build a null packet (-3) 
-      *--custom       : build a custom packet  (-9)+      *-''''-custom       : build a custom packet  (-9)
  
  
Line 121: Line 121:
  
 ==== Generating a custom packet ==== ==== Generating a custom packet ====
-If you want to generate a customer packet, first create a packet with the tool of your choice.  This could a specialized tool, a hex editor or even from a previous capture.  Then save it as a pcap file.  Following this, run the command:+If you want to generate a customer packet, first create a packet with the tool of your choice.  This could be a specialized tool, a hex editor or even from a previous capture.  Then save it as a pcap file.  Following this, run the command:
  
    packetforge-ng -9 -r input.cap -y keystream.xor -w output.cap    packetforge-ng -9 -r input.cap -y keystream.xor -w output.cap
Line 161: Line 161:
    "packetforge-ng --help" for help.    "packetforge-ng --help" for help.
  
-This because -1 was used instead of the correct -l.  So simply use "-l".+This because -1 (number one) was used instead of the correct -l (the letter ell).  So simply use "-l".
  
packetforge-ng.1232744463.txt.gz · Last modified: 2009/01/23 22:01 by darkaudax