We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Traceback (most recent call last): File "simple_IMSI-catcher.py", line 602, in sniff(iface=options.iface, filter=f"port {options.port} and not icmp and udp", prn=find_imsi_from_pkt, store=0) File "/usr/lib/python3/dist-packages/scapy/sendrecv.py", line 603, in sniff r = prn(p) File "simple_IMSI-catcher.py", line 553, in find_imsi_from_pkt find_imsi(udpdata) File "simple_IMSI-catcher.py", line 482, in find_imsi t.register_imsi(gsm.arfcn, imsi1, imsi2, tmsi1, tmsi2, p) File "simple_IMSI-catcher.py", line 278, in register_imsi self.pfields(str(n), tmsi1, tmsi2, imsi1, str(self.mcc), str(self.mnc), str(self.lac), str(self.cell), p) File "simple_IMSI-catcher.py", line 194, in pfields self.output_function(cpt, tmsi1, tmsi2, imsi, imsicountry, imsibrand, imsioperator, mcc, mnc, lac, cell, now, packet) File "simple_IMSI-catcher.py", line 183, in output print(f"{str(cpt):7s} ; {tmsi1:10s} ; {tmsi2:10s} ; {imsi:17s} ; {imsicountry:16s} ; {imsibrand:14s} ; {imsioperator:21s} ; {str(mcc):4s} ; {str(mnc):5s} ; {str(lac):6s} ; {str(cell):6s} ; {now.isoformat():s}") UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 98: ordinal not in range(128) Help me, please
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Traceback (most recent call last):
File "simple_IMSI-catcher.py", line 602, in
sniff(iface=options.iface, filter=f"port {options.port} and not icmp and udp", prn=find_imsi_from_pkt, store=0)
File "/usr/lib/python3/dist-packages/scapy/sendrecv.py", line 603, in sniff
r = prn(p)
File "simple_IMSI-catcher.py", line 553, in find_imsi_from_pkt
find_imsi(udpdata)
File "simple_IMSI-catcher.py", line 482, in find_imsi
t.register_imsi(gsm.arfcn, imsi1, imsi2, tmsi1, tmsi2, p)
File "simple_IMSI-catcher.py", line 278, in register_imsi
self.pfields(str(n), tmsi1, tmsi2, imsi1, str(self.mcc), str(self.mnc), str(self.lac), str(self.cell), p)
File "simple_IMSI-catcher.py", line 194, in pfields
self.output_function(cpt, tmsi1, tmsi2, imsi, imsicountry, imsibrand, imsioperator, mcc, mnc, lac, cell, now, packet)
File "simple_IMSI-catcher.py", line 183, in output
print(f"{str(cpt):7s} ; {tmsi1:10s} ; {tmsi2:10s} ; {imsi:17s} ; {imsicountry:16s} ; {imsibrand:14s} ; {imsioperator:21s} ; {str(mcc):4s} ; {str(mnc):5s} ; {str(lac):6s} ; {str(cell):6s} ; {now.isoformat():s}")
UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 98: ordinal not in range(128)
Help me, please
The text was updated successfully, but these errors were encountered: