mirror of
https://github.com/DanMcInerney/LANs.py.git
synced 2025-08-19 21:13:24 -07:00
fixed monmode error
This commit is contained in:
parent
0e4ec27353
commit
309e823d55
1 changed files with 1 additions and 1 deletions
2
LANs.py
2
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue