Oros42 / IMSI-catcher

This program show you IMSI numbers of cellphones around you.
Creative Commons Zero v1.0 Universal
3.22k stars 736 forks source link

IndexError: Layer [UDP] not found #76

Open oscarmh opened 5 years ago

oscarmh commented 5 years ago

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 commented 4 years ago

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