added error handling into ARPWatch, removed a useless (i think) lib from requirements.txt

This commit is contained in:
byt3bl33d3r 2015-06-10 19:42:23 +02:00
commit 5b969e09fb
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -3,7 +3,6 @@ requests
netaddr netaddr
scapy scapy
msgpack-python msgpack-python
dnspython
dnslib dnslib
configobj configobj
Pillow Pillow