This commit is contained in:
byt3bl33d3r 2015-08-12 17:51:55 +02:00
commit d535c8796c
2 changed files with 7 additions and 4 deletions

View file

@ -46,7 +46,10 @@ class NetCreds:
version = "1.0"
def sniffer(self, interface, ip):
sniff(iface=interface, prn=pkt_parser, filter="not host {}".format(ip), store=0)
try:
sniff(iface=interface, prn=pkt_parser, filter="not host {}".format(ip), store=0)
except Exception as e:
if "Interrupted system call" in e: pass
def start(self, interface, ip, pcap):
if pcap: