mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-14 02:37:06 -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:
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue