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:
if packet is not None:
send(packet, verbose=self.debug, iface=self.interface)
except Exception, e:
mitmf_logger.error("[ARPWatch] Error sending re-poison packet: {}".format(e))
except Exception as e:
if "Interrupted system call" not in e:
mitmf_logger.error("[ARPWatch] Exception occurred while sending re-poison packet: {}".format(e))
pass