HexInject is a very versatile packet injector and sniffer, that provide a command-line framework for raw network access. It’s designed to work together with others command-line utilities, and for this reason it facilitates the creation of powerful shell scripts capable of reading, intercepting and modifying network traffic in a transparent manner.
– Hexadecimal and raw data injection on the net
– Sniff data in hexadecimal or raw format from the net
– Data can be piped and easily manipulated
– Raw network access cmdline framework
– Automatically set the correct checksum (IPv4, IPv6, TCP, UDP, ICMP, IGMP)
– Automatically set the correct packet length (IPv4, IPv6, TCP, UDP, ICMP, IGMP)
+ tcl (for packets.tcl)
== TOOLS ==
+ hexinject: The main sniffer and injector.
+ prettypacket: Disassemble raw packets (received on its standard input) and print their field.
Can also print example packets (useful if you want to know the structure of an header).
+ hex2raw: Convert hexstring (the textual format used by hexinject) to raw data, and vice-versa.
+ packets.tcl: Experimental packet forger, written in TCL. It uses a simple packet representation format based on APD (http://wiki.hping.org/26).
Usage and download:
tar xf hexinject-1.6.tar.gz
cd hexinject && make