/usr/lib/radare/bin/net-icmp is in radare-common 1:1.5.2-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/sh
#; This ICMP header can be aligned where you want becouse it is relative :)
#; author: sha0
cat <<EOF
s here
b 8
f icmp.type
s +8
b 8
f icmp.code
s +8
b 16
f icmp.chksum
s +16
b 32
f icmp.unused
s +32
b 64
f icmp.datagram
EOF
|