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

IndexError: Layer [UDP] not found #76

Open
oscarmh opened this issue Nov 25, 2019 · 1 comment
Open

IndexError: Layer [UDP] not found #76

oscarmh opened this issue Nov 25, 2019 · 1 comment

Comments

@oscarmh
Copy link

oscarmh commented Nov 25, 2019

Hi, Ive been lately updating my simple_IMSI install but when I run with --sniff I got a UDP Lyer not found error. If I try to run using the port "already in use"... any hint ? Thanks in advance

Full error
Nb IMSI ; TMSI-1 ; TMSI-2 ; IMSI ; country ; brand ; operator ; MCC ; MNC ; LAC ; CellId
Traceback (most recent call last):
File "simple_IMSI-catcher.py", line 533, in
sniff(iface=options.iface, filter="portrange 4729-4732 and not icmp and udp".format(options.port), prn=find_imsi_from_pkg, store=0)
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 620, in sniff
r = prn(p)
File "simple_IMSI-catcher.py", line 492, in find_imsi_from_pkg
udpdata = str(p[UDP].payload)
File "/usr/lib/python2.7/dist-packages/scapy/packet.py", line 817, in getitem
raise IndexError("Layer [%s] not found" % lname)
IndexError: Layer [UDP] not found

@Oros42
Copy link
Owner

Oros42 commented Apr 18, 2020

Try with last version of simple_IMSI-catcher.py and python3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants