Move Ifconfig and Iwconfig logic to separate classes.

This commit is contained in:
derv82
2018-04-18 06:15:14 -04:00
parent bd13bf69cf
commit 3542381b3e
7 changed files with 147 additions and 75 deletions

View File

@@ -4,7 +4,7 @@
try:
from .config import Configuration
except (ValueError, ImportError) as e:
raise Exception('You may need to run wifite from the root directory (which includes README.md)')
raise Exception('You may need to run wifite from the root directory (which includes README.md)', e)
from .util.scanner import Scanner
from .util.process import Process
@@ -43,7 +43,7 @@ class Wifite(object):
elif Configuration.crack_handshake:
CrackHandshake()
else:
Configuration.get_interface()
Configuration.get_monitor_mode_interface()
self.run()
def dependency_check(self):