Minor fixes

This commit is contained in:
kimocoder
2018-02-27 08:24:22 +01:00
parent 6ff2f2b9dc
commit d6aeb97cfc
3 changed files with 4 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ class Arguments(object):
dest='scan_time', dest='scan_time',
metavar='[scantime]', metavar='[scantime]',
type=int, type=int,
help=Color.s('Scan time to (default: {G}ask{W})')) help=Color.s('Seconds to scan before attacking (default: {G}ask{W})'))
glob.add_argument('-i', glob.add_argument('-i',
action='store', action='store',
dest='interface', dest='interface',

View File

@@ -51,6 +51,7 @@ class AttackWPA(Attack):
handshake = self.load_handshake(bssid=bssid, essid=essid) handshake = self.load_handshake(bssid=bssid, essid=essid)
if handshake: if handshake:
Color.pl('\n\n{+} {G}using existing handshake found at %s{W}' % handshake.capfile)
Color.pl('\n\n{+} {G}successfully loaded handshake{W}') Color.pl('\n\n{+} {G}successfully loaded handshake{W}')
else: else:
timeout_timer = Timer(Configuration.wpa_attack_timeout) timeout_timer = Timer(Configuration.wpa_attack_timeout)

View File

@@ -28,7 +28,7 @@ class Configuration(object):
Configuration.verbose = 0 # Verbosity level. Configuration.verbose = 0 # Verbosity level.
Configuration.scan_time = 0 # Scan time Configuration.scan_time = 0 # Scan time
Configuration.all_targets = False # Run attacks against all targets automatically Configuration.all_targets = False # Run attacks against all targets automatically
Configuration.tx_power = 0 # Wifi transmit power (0 is default) Configuration.tx_power = 0 # Wifi transmit power (0 is default)
@@ -69,7 +69,7 @@ class Configuration(object):
wordlists = [ wordlists = [
'/usr/share/wfuzz/wordlist/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt', '/usr/share/wfuzz/wordlist/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt',
'/usr/share/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt', '/usr/share/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt',
'/usr/share/wordlists/fern-wifi/common.txt' '/usr/share/fern-wifi-cracker/extras/wordlists/common.txt'
] ]
for wlist in wordlists: for wlist in wordlists:
if os.path.exists(wlist): if os.path.exists(wlist):