Hping Flashcards
hping -1
ICMP Ping
hping -1 10.0.0.25
hping -A
ACK scan
also -ack
hping -A 10.0.0.25 -p 80
hping -2
UDP Scan
hping -2 10.0.0.25 -p 80
hping -Q
collect TCP sequence numbers
hping -Q 10.0.0.25 -p 139 -s
hping -F
set FIN flag
also -fin
hping3 -F 10.0.0.25 -p 80
hping -S
set SYN flag
also –syn
hping3 -S 10.0.0.25 -p 80
hping -R
set RST flag
also –rst
hping3 -R 10.0.0.25 -p 80
hping -P
set PUSH flag
also –push
hping3 -P 10.0.0.25 -p 80
hping -U
set URG flag
also –urg
hping3 -U 10.0.0.25 -p 80
hping -X
set X unused flag (0x40)
also –xmas
hping3 -X 10.0.0.25 -p 80
hping -Y
set Y unused flag (0x80)
also –ymas
hping3 -Y 10.0.0.25 -p 80
hping -s
base source port (default random)
also –baseport
hping -p
destination port (default 0)
also –destport
hping -w
winsize (default 64)
hping3 –tcp-timestamp
enable tcp timestamp option
hping3 -S 10.0.0.25 -p 80 –tcp-timestamp