Penetration Testing mailing list archives

Re: ICMP route test


From: IPv7 <listas.internet () gmail com>
Date: Wed, 29 Oct 2008 13:52:08 -0200

I
n Wed, Oct 29, 2008 at 4:17 AM, Shreyas Zare <shreyas () technitium com> wrote:
Hi,

The -gw parameter seems to do different task

-gw, --gateway address
             Route gateway address on an ICMP Redirect  (-red).   On  default
             will  be  the  spoof address (-sp), if it has been specified, or
             the outgoing IP address if it has not been specified.

Probably it only for ICMP redirects.

Check this out:

for i in 192.168.0.1 192.168.0.2
do
   route del default
   route add default gw $i
   icmpush -echo google.com
done

so thanxs, but I can't do this.
I've bit suid on icmpush, but I can't change the default gateway.
I'll try with scapy!
Thanxs!

Regards,

On Wed, Oct 29, 2008 at 4:40 AM, IPv7 <listas.internet () gmail com> wrote:

Hi!
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...
so thanxs!!
--
---------------------------------------
-   El conocimiento es poder   -
- y el saber nos hace libres.    -
---------------------------------------
irrealnet.blogspot.com.ar
Linux User #405757
Machine Linux #310536

------------------------------------------------------------------------
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
------------------------------------------------------------------------




--
("There are only 10 kinds of people in this world: those who know
binary and those who don't.")

Shreyas Zare
Co-Founder, Technitium
eMail: shreyas () technitium com

..::< The Technitium Team >::..
Visit us at www.technitium.com
Contact us at theteam () technitium com

Join Sci-Tech News group and get the latest science & technology news
in your inbox. Visit http://tech.groups.yahoo.com/group/sci-tech-news
to join.




-- 
---------------------------------------
-   El conocimiento es poder   -
- y el saber nos hace libres.    -
---------------------------------------
irrealnet.blogspot.com.ar
Linux User #405757
Machine Linux #310536

------------------------------------------------------------------------
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: