fix header when use scapy and no IPV6
This commit is contained in:
parent
56ed7f1e6f
commit
1a336ecf52
1 changed files with 2 additions and 1 deletions
|
@ -560,9 +560,10 @@ if __name__ == '__main__':
|
|||
print("123")
|
||||
exit(1)
|
||||
imsitracker.track_this_imsi(imsi_to_track)
|
||||
imsitracker.header()
|
||||
if options.sniff:
|
||||
from scapy.all import sniff, UDP
|
||||
imsitracker.header()
|
||||
sniff(iface=options.iface, filter="port {} and not icmp and udp".format(options.port), prn=find_imsi_from_pkg, store=0)
|
||||
else:
|
||||
imsitracker.header()
|
||||
udpserver(port=options.port, prn=find_imsi)
|
||||
|
|
Loading…
Reference in a new issue