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

"simple_IMSI-catcher.py -a" not working. #87

Closed Denomin8 closed 4 years ago

Denomin8 commented 4 years ago

I can run simple_IMSI-catcher.py just fine. I want to capture non-IMSI entry as well, however, as soon as I add -a to the command, it returns the following;

root@ubuntu:~/IMSI-catcher# python simple_IMSI-catcher.py -a

Nb IMSI ; TMSI-1 ; TMSI-2 ; IMSI ; country ; brand ; operator ; MCC ; MNC ; LAC ; CellId ; Timestamp Traceback (most recent call last): File "simple_IMSI-catcher.py", line 541, in udpserver(port=options.port, prn=find_imsi) File "simple_IMSI-catcher.py", line 494, in udpserver prn(udpdata) File "simple_IMSI-catcher.py", line 466, in find_imsi t.register_imsi(gsm.arfcn, imsi1, imsi2, tmsi1, tmsi2, p) File "simple_IMSI-catcher.py", line 237, in register_imsi if tmsi1 and tmsi1 not in self.tmsis: TypeError: unhashable type: 'bytearray'

How can this be fixed?