Sep 5, 2014 at 3:25 PM
Hi All,

Is it possible to set the data in the ICMP packet when crafting a PING request. I can't seem to find any parameter where that can be set and for some reason the help files are not rendering on any of the 3 machines I have, although that's another issue.

Basically, if I craft an ICMP request there is no data in the ICMP field but if I ping using a standard OS command e.g. ping for Windows some data is put in the packet which the responding system will respond with.

I need this capability to be able to determine if the packet received is really my ICMP reply or just another packet.


Sep 6, 2014 at 8:30 AM
Hi Nathan,

You can add a PayloadLayer after the IcmpLayer to the PacketBuilder to add payload for the ICMP.