File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 88
99class Configuration (object ):
1010 ''' Stores configuration variables and functions for Wifite. '''
11- version = '2.1.5 '
11+ version = '2.1.6 '
1212
1313 initialized = False # Flag indicating config has been initialized
1414 temp_dir = None # Temporary directory
Original file line number Diff line number Diff line change @@ -192,10 +192,9 @@ def get_targets_from_csv(csv_filename):
192192 '''Returns list of Target objects parsed from CSV file.'''
193193 targets = []
194194 import csv
195- with open (csv_filename , 'rb ' ) as csvopen :
195+ with open (csv_filename , 'r ' ) as csvopen :
196196 lines = []
197197 for line in csvopen :
198- if type (line ) is bytes : line = line .decode ('utf-8' )
199198 line = line .replace ('\0 ' , '' )
200199 lines .append (line )
201200 csv_reader = csv .reader (lines ,
Original file line number Diff line number Diff line change @@ -39,10 +39,7 @@ def __init__(self):
3939 self .err_msg = '\r {!} {R}Airodump exited unexpectedly (Code: %d){O} Command: {W}%s' % (airodump .pid .poll (), " " .join (airodump .pid .command ))
4040 raise KeyboardInterrupt
4141
42- try :
43- self .targets = airodump .get_targets ()
44- except Exception as e :
45- break
42+ self .targets = airodump .get_targets ()
4643
4744 if self .found_target ():
4845 # We found the target we want
You can’t perform that action at this time.
0 commit comments