sending a rip1 request via python

scripteaze scripteaze at gmail.com
Wed Dec 19 18:14:34 EST 2007


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



More information about the Python-list mailing list