Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'getts' #35

Closed
th000m opened this issue Jan 23, 2017 · 1 comment
Closed

AttributeError: 'NoneType' object has no attribute 'getts' #35

th000m opened this issue Jan 23, 2017 · 1 comment
Assignees

Comments

@th000m
Copy link

th000m commented Jan 23, 2017

Hello,

I have an issue when trying to launch Kickthemout. Here is what happens:

sudo python kickthemout.py
Traceback (most recent call last):
File "kickthemout.py", line 338, in
scanNetwork()
File "kickthemout.py", line 72, in scanNetwork
hostsList = scan.scanNetwork()
File "/Users//kickthemout/scan.py", line 69, in scanNetwork
return scan_and_print_neighbors(net, interface)
File "/Users//kickthemout/scan.py", line 30, in scan_and_print_neighbors
ans, unans = scapy.layers.l2.arping(net, iface=interface, timeout=timeout, verbose=False)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/layers/l2.py", line 700, in arping
filter="arp and arp[7] = 2", timeout=timeout, iface_hint=net, **kargs)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/sendrecv.py", line 378, in srp
a,b=sndrcv(s ,x,*args,**kargs)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/sendrecv.py", line 133, in sndrcv
r = pks.nonblock_recv()
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/arch/pcapdnet.py", line 672, in nonblock_recv
p = self.recv(MTU)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/arch/pcapdnet.py", line 653, in recv
pkt = self.ins.next()
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/arch/pcapdnet.py", line 390, in next
s,us = h.getts()
AttributeError: 'NoneType' object has no attribute 'getts'

Does anyone can help?

Thank!

@k4m4 k4m4 self-assigned this Jan 23, 2017
@k4m4 k4m4 added the duplicate label Jan 23, 2017
@k4m4
Copy link
Owner

k4m4 commented Jan 23, 2017

Hi there. Check out issue #32. Let me know if it helps.

@k4m4 k4m4 closed this as completed Jan 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants