Penetration Testing mailing list archives

Re: ICMP route test


From: matte <mailinglistmatt () gmail com>
Date: Wed, 29 Oct 2008 17:37:29 +0200

You should probably check out Scapy

http://www.secdev.org/projects/scapy/

It will probably do what you want, plus a whole bunch more....


On Wed, Oct 29, 2008 at 1:10 AM, IPv7 <listas.internet () gmail com> wrote:
I`m trying to do a script, that verify if one host is working as router.
I want to send a icmp packet, wiht an external dest (ie:google.com),
but i need use an other gw, for example,
for i in 192.168.0.1 192.168.0.2
do
icmpush -echo -gw $i google.com
done

but does not work, because,
192.168.0.2 is not a router, in spit of that, i recive the icmp echo
reply from google...
Sorry by my english, i speak spanish...


-m

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Security Trends Report from Cenzic
Stay Ahead of the Hacker Curve!
Get the latest Q2 2008 Trends Report now

www.cenzic.com/landing/trends-report
------------------------------------------------------------------------


Current thread: