From 309e823d551d8ad16a40fbaf9e61c388cd72a542 Mon Sep 17 00:00:00 2001 From: DanMcInerney Date: Sat, 9 Nov 2013 09:05:36 -0700 Subject: [PATCH] fixed monmode error --- LANs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LANs.py b/LANs.py index e32fdff..c9f7f71 100755 --- a/LANs.py +++ b/LANs.py @@ -797,7 +797,7 @@ class active_users(): promisc = promiscSearch.communicate()[0] monmodeSearch = re.search('monitor mode enabled on (.+)\)', promisc) self.monmode = monmodeSearch.group(1) - except OSError, e: + except: exit('[-] Enabling monitor mode failed, do you have aircrack-ng installed?') sniff(iface=self.monmode, prn=self.pkt_cb, store=0)