On 09/08/18 13:11, Iranna Mathapati wrote:
2.       When I try to execute scapy cmds in remote server I get the below
error

child_remote.sendline=sendp(arp3,iface='enp6s0f0',count=100)
Traceback (most recent call last):

   File "<stdin>", line 1, in <module>

   File "/usr/local/lib/python2.7/site-packages/scapy/sendrecv.py", line
256, in sendp

     __gen_send(conf.L2socket(iface=iface, *args, **kargs), x, inter=inter,
loop=loop, count=count, verbose=verbose, realtime=realtime)

   File "/usr/local/lib/python2.7/site-packages/scapy/arch/linux.py", line
425, in __init__

     self.ins.bind((iface, type))

   File "/usr/local/lib/python2.7/socket.py", line 224, in meth

     return getattr(self._sock,name)(*args)

socket.error: [Errno 19] No such device

At a guess, you are asking to send on an interface that doesn't exist. Does your machine have a network interface called "enp6s0f0"?

--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to