def command_use(p=False): p = p.lower() if not p: error("You must enter a module to use !") return else: if p in modules: if Settings.running_module: Settings.update_previous() Settings.running_module = p module.Exec(all_keywords) return else: error(p + " module not found!")
def command_use(p=False): p = p.lower() if not p: error("You must enter a module to use !") return else: if p in modules: if Settings.running_module: Settings.update_previous() Settings.running_module = p module.Exec(all_keywords) return else: if Settings.debug: print("Module -> " + p) print("Loaded modules ->" + "\t".join(modules)) error(p + " module not found!")
def command_back(text=False): Settings.update_previous() Settings.running_module = False Settings.reset_name() if os.name != "nt": utils.Input_completer(cli_keywords + modules)
def command_back(text=False): Settings.update_previous() Settings.running_module = False Settings.reset_name() if os.name!="nt": utils.Input_completer(cli_keywords+modules )