mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-19 13:10:03 -07:00
added error handling into ARPWatch, removed a useless (i think) lib from requirements.txt
This commit is contained in:
parent
e3aa8ba617
commit
5b969e09fb
2 changed files with 3 additions and 3 deletions
|
@ -82,6 +82,7 @@ class ARPWatch:
|
||||||
try:
|
try:
|
||||||
if packet is not None:
|
if packet is not None:
|
||||||
send(packet, verbose=self.debug, iface=self.interface)
|
send(packet, verbose=self.debug, iface=self.interface)
|
||||||
except Exception, e:
|
except Exception as e:
|
||||||
mitmf_logger.error("[ARPWatch] Error sending re-poison packet: {}".format(e))
|
if "Interrupted system call" not in e:
|
||||||
|
mitmf_logger.error("[ARPWatch] Exception occurred while sending re-poison packet: {}".format(e))
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -3,7 +3,6 @@ requests
|
||||||
netaddr
|
netaddr
|
||||||
scapy
|
scapy
|
||||||
msgpack-python
|
msgpack-python
|
||||||
dnspython
|
|
||||||
dnslib
|
dnslib
|
||||||
configobj
|
configobj
|
||||||
Pillow
|
Pillow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue