import argparse import time, sys, os import logging from softwares.browsers.mozilla import Mozilla # Configuration from config.header import Header from config.write_output import write_header, write_footer, print_footer from config.constant import * from config.manageModules import get_categories, get_modules # Print the title Header().first_title() category = get_categories() moduleNames = get_modules() # Define a dictionary for all modules modules = {} for categoryName in category: modules[categoryName] = {} # Add all modules to the dictionary for module in moduleNames: modules[module.category][module.options["dest"]] = module modules["mails"]["thunderbird"] = Mozilla(True) # For thunderbird (firefox and thunderbird use the same class) def output(): if args["write"] == True:
import argparse import time, sys, os import logging from softwares.browsers.mozilla import Mozilla # Configuration from config.header import Header from config.write_output import write_header, write_footer, print_footer from config.constant import * from config.manageModules import get_categories, get_modules # Print the title Header().first_title() category = get_categories() moduleNames = get_modules() # Define a dictionary for all modules modules = {} for categoryName in category: modules[categoryName] = {} # Add all modules to the dictionary for module in moduleNames: modules[module.category][module.options['dest']] = module modules['mails']['thunderbird'] = Mozilla(True) # For thunderbird (firefox and thunderbird use the same class) def output(): if args['write'] == True: constant.output = 'txt'