On Dec 19, 5:50 pm, Dirk Loss <[EMAIL PROTECTED]> wrote:
> scripteaze wrote:
>
> >>> I need to be able to send a rip1 request to my rip1 enabled device.,
ok i got everthing setup and its sending the packets, do i have to
create a socket server or cant i simply setup a buf = 1024 and recieve
the re
scripteaze wrote:
>>> I need to be able to send a rip1 request to my rip1 enabled device.,
> Well, i use scapy quite often, however, this needs to be very portable
import socket
rip_request = '\x01\x01\x00\x00\x00\x02' + '\x00' * 17 + '\x10'
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s
On Dec 19, 5:14 pm, scripteaze <[EMAIL PROTECTED]> wrote:
> On Dec 19, 10:34 am, Dirk Loss <[EMAIL PROTECTED]> 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
On Dec 19, 10:34 am, Dirk Loss <[EMAIL PROTECTED]> 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
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")/