PC2: Host that will send file to PC2
On PC1, you should execute the command below;
Hping3 PC1_IP_Address --listen fire --icmp -I eth0 > received_file.txt
Parameters that is using in command.
--icmp: Protocol
Because of trigger word "fire" ,While sending the packet we are losing 4 bytes data. It means when you want to send 35byte file, you will send 39 byte totaly.
On PC2, you should execute the command below;
Hping3 PC1_IP_Address --icmp -d 73 --sign fire --file sendingfile.txt -c 1 –I eth0
Read more...