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'
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?