cleanupOldCode

This commit is contained in:
SpudGunMan
2024-10-10 17:18:05 -07:00
parent 3f4c6f8703
commit ae6dfa3321
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ except Exception as e:
if config.sections() == []:
print(f"web_reporter.cfg is empty or does not exist, generating default config")
config['reporting'] = {'log_path': script_dir, 'w3_path': www_dir, 'multi_log_reader': 'True', 'shame_word_list': 'password, combo, key, hidden, secret, pass, token, login, username, admin, root'}
config['reporting'] = {'log_path': script_dir, 'w3_path': www_dir, 'multi_log_reader': 'True', 'shame_word_list': shameWordList}
with open(config_file, 'w') as configfile:
config.write(configfile)
+1 -1
View File
@@ -35,7 +35,7 @@ except Exception as e:
if config.sections() == []:
print(f"web_reporter.cfg is empty or does not exist, generating default config")
config['reporting'] = {'log_path': script_dir, 'w3_path': www_dir, 'multi_log_reader': 'True', 'shame_word_list': 'password, combo, key, hidden, secret, pass, token, login, username, admin, root'}
config['reporting'] = {'log_path': script_dir, 'w3_path': www_dir, 'multi_log_reader': 'True', 'shame_word_list': shameWordList}
with open(config_file, 'w') as configfile:
config.write(configfile)