sending a rip1 request via python

scripteaze scripteaze at gmail.com
Wed Dec 19 18:18:00 EST 2007
On Dec 19, 5:14 pm, scripteaze <scripte... at gmail.com> wrote:
> On Dec 19, 10:34 am, Dirk Loss <li... at dirk-loss.de> wrote:
>
>
>
> > scripteaze wrote:
> > > I need to be able to send a rip1 request to my rip1 enabled device.,
> > > so i need python to send :
> > > 01 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > > 10
>
> > Use Scapy:
>
> > from scapy import *
> > myrip = RIP()/RIPEntry(metric=16)
> > ans, unans = sr(IP(dst="192.168.1.1")/UDP(sport=520)/myrip)
>
> >http://www.secdev.org/projects/scapy/
>
> > Regards
> > Dirk
>
> Well, i use scapy quite often, however, this needs to be very portable
> from one box to another with out the installation of extra

I was not finished, lol, for some reason my keyboard went haywire and
did its own thing. Anywho, scapy is out of the question. any code
examples? and also, whats the alternative.

thanks in advance



More information about the Python-list mailing list