Tool 36: Spoof EthernetIp4Tcp

Description:

  This tool sends a fake packet on the network.
  Each parameter name should be self explaining.
   

Synonyms:

  frame, hping, ipv4, mac

Usage:

  netwox 36 [-d device] [-a eth] [-b eth] [-c uint32] [-e uint32] [-f|+f] [-g|+g] [-h|+h] [-i uint32] [-j uint32] [-k uint32] [-l ip] [-m ip] [-n ip4opts] [-o port] [-p port] [-q uint32] [-r uint32] [-s|+s] [-t|+t] [-u|+u] [-v|+v] [-w|+w] [-x|+x] [-y|+y] [-z|+z] [-A|+A] [-B|+B] [-C|+C] [-D|+D] [-E uint32] [-F uint32] [-G tcpopts] [-H mixed_data] [-I uint32] [-J uint32] [-K uint32] [-L uint32] [-M uint32] [-N uint32]

Parameters:

parameter description example
-d|--device device device for spoof Eth0
-a|--eth-src eth Ethernet src 0:1:1:1:1:1
-b|--eth-dst eth Ethernet dst 0:8:9:a:b:c
-c|--ip4-tos uint32 IP4 tos 0
-e|--ip4-id uint32 IP4 id (rand if unset) 0
-f|--ip4-reserved|+f|--no-ip4-reserved IP4 reserved  
-g|--ip4-dontfrag|+g|--no-ip4-dontfrag IP4 dontfrag  
-h|--ip4-morefrag|+h|--no-ip4-morefrag IP4 morefrag  
-i|--ip4-offsetfrag uint32 IP4 offsetfrag 0
-j|--ip4-ttl uint32 IP4 ttl 0
-k|--ip4-protocol uint32 IP4 protocol 0
-l|--ip4-src ip IP4 src 1.1.1.1
-m|--ip4-dst ip IP4 dst 5.6.7.8
-n|--ip4-opt ip4opts IPv4 options  
-o|--tcp-src port TCP src 1234
-p|--tcp-dst port TCP dst 80
-q|--tcp-seqnum uint32 TCP seqnum (rand if unset) 0
-r|--tcp-acknum uint32 TCP acknum 0
-s|--tcp-reserved1|+s|--no-tcp-reserved1 TCP reserved1  
-t|--tcp-reserved2|+t|--no-tcp-reserved2 TCP reserved2  
-u|--tcp-reserved3|+u|--no-tcp-reserved3 TCP reserved3  
-v|--tcp-reserved4|+v|--no-tcp-reserved4 TCP reserved4  
-w|--tcp-cwr|+w|--no-tcp-cwr TCP cwr  
-x|--tcp-ece|+x|--no-tcp-ece TCP ece  
-y|--tcp-urg|+y|--no-tcp-urg TCP urg  
-z|--tcp-ack|+z|--no-tcp-ack TCP ack  
-A|--tcp-psh|+A|--no-tcp-psh TCP psh  
-B|--tcp-rst|+B|--no-tcp-rst TCP rst  
-C|--tcp-syn|+C|--no-tcp-syn TCP syn  
-D|--tcp-fin|+D|--no-tcp-fin TCP fin  
-E|--tcp-window uint32 TCP window 0
-F|--tcp-urgptr uint32 TCP urgptr 0
-G|--tcp-opt tcpopts TCP options  
-H|--tcp-data mixed_data mixed data  
-I|--eth-type uint32 Ethernet type 2048
-J|--ip4-ihl uint32 IP4 ihl 5
-K|--ip4-totlen uint32 IP4 totlen 0
-L|--ip4-checksum uint32 IP4 checksum 0
-M|--tcp-doff uint32 TCP data offset 0
-N|--tcp-checksum uint32 TCP checksum 0

Example:

  netwox 36