Patch of hping3_3.a2.ds2-10 (Debian)
Allow signature with sequence number and rotate source port.
- Signature must end with a contiguous underscores (), example: abc__ will become
abc000toabc999then it rotates back toabc000. -s <init_port>option accepts-s <init_port>-<last_port>format. If defined, the source port increases up tolast_portinstead of 65535 then rotates.
hping3 -n -S -s 4000-4010 -p 3000 --udp -i 1 -e abcd____ 10.10.10.10
sends packets from this host to the destination
- src port 4000 with payload signature abcd0000,
- src port 4001 payload abcd0001, ...
- src port 4009 payload abcd0009,
- src port 4000 payload abcd0010, ...