Skip to content

Commit

Permalink
Removing pycrypto dependancy + python3 comp
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroZ committed Jul 27, 2018
1 parent 2aadd44 commit 0ffb335
Show file tree
Hide file tree
Showing 23 changed files with 1,065 additions and 118 deletions.
13 changes: 3 additions & 10 deletions Linux/laZagne.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def output():
if os.path.isdir(args['output']):
constant.folder_name = args['output']
else:
print '[!] Specify a directory, not a file !'
print('[!] Specify a directory, not a file !')

if args['write_normal']:
constant.output = 'txt'
Expand Down Expand Up @@ -82,12 +82,6 @@ def verbosity():
root.addHandler(stream)
del args['verbose']

def manage_advanced_options():

# Jitsi advanced options
if 'master_pwd' in args:
constant.jitsi_masterpass = args['master_pwd']

def launch_module(module):

modulesToLaunch = []
Expand All @@ -114,7 +108,7 @@ def launch_module(module):
yield True, i.capitalize(), pwdFound
except:
traceback.print_exc()
print
print()
error_message = traceback.format_exc()
yield False, i.capitalize(), error_message

Expand Down Expand Up @@ -215,7 +209,7 @@ def runLaZagne(category_choosed='all'):
parser_tab += categories[c]['subparser']
parser_tab += [PWrite]
dic_tmp = {c: {'parents': parser_tab, 'help':'Run %s module' % c, 'func': runModule}}
dic = dict(dic.items() + dic_tmp.items())
dic.update(dic_tmp)

#2- Main commands
subparsers = parser.add_subparsers(help='Choose a main command')
Expand All @@ -240,7 +234,6 @@ def runLaZagne(category_choosed='all'):
# Define constant variables
output()
verbosity()
manage_advanced_options()

start_time = time.time()

Expand Down
1 change: 0 additions & 1 deletion Linux/lazagne/config/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class constant():
output = None
file_logger = None
verbose = False
jitsi_masterpass = None # Jitsi options
nbPasswordFound = 0 # Total password found
passwordFound = []
finalResults = {}
Expand Down
Empty file.
Loading

0 comments on commit 0ffb335

Please sign in to comment.