mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-14 02:37:06 -07:00
fixes #158
This commit is contained in:
parent
1a5c7c03b7
commit
d535c8796c
2 changed files with 7 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue