mirror of
https://github.com/DanMcInerney/LANs.py.git
synced 2025-08-20 05:23:26 -07:00
fixed aircrack
This commit is contained in:
parent
fbdcc3cec0
commit
70f58a6bd9
2 changed files with 1 additions and 1 deletions
2
LANs.py
2
LANs.py
|
@ -795,7 +795,7 @@ class active_users():
|
||||||
# Start monitor mode
|
# Start monitor mode
|
||||||
print '[*] Enabling monitor mode'
|
print '[*] Enabling monitor mode'
|
||||||
try:
|
try:
|
||||||
print '/usr/sbin/airmon-ng ' + 'start ' + '%s ' + interface
|
print '/usr/sbin/airmon-ng ' + 'start ' + interface
|
||||||
promiscSearch = Popen(['/usr/sbin/airmon-ng', 'start', '%s' % interface], stdout=PIPE, stderr=DN)
|
promiscSearch = Popen(['/usr/sbin/airmon-ng', 'start', '%s' % interface], stdout=PIPE, stderr=DN)
|
||||||
promisc = promiscSearch.communicate()[0]
|
promisc = promiscSearch.communicate()[0]
|
||||||
monmodeSearch = re.search('monitor mode enabled on (.+)\)', promisc)
|
monmodeSearch = re.search('monitor mode enabled on (.+)\)', promisc)
|
||||||
|
|
0
LANspy.log.txt
Normal file
0
LANspy.log.txt
Normal file
Loading…
Add table
Add a link
Reference in a new issue