def command(event): import cmd_module command_index = 0 s = mainTextInput.get() commandsUsed.append(s) mainEntryBox.delete(0, END) leftBottom_frame.printTextHistory("[*] Command: " + s) p=Thread(target=cmd_module.cmd_assert, args=(s,)) p.start()
def command(event): import cmd_module command_index = 0 s = mainTextInput.get() commandsUsed.append(s) mainEntryBox.delete(0, END) leftBottom_frame.printTextHistory("[*] Command: " + s) p = Thread(target=cmd_module.cmd_assert, args=(s, )) p.start()
def specs(): leftTop_frame.focus() leftTop_frame.number_args = 1 spec = "[?]Find IP Address Program loaded" text = spec + "\n[*]Enter IP Address \n" leftBottom_frame.printTextHistory(spec + "\n") leftTop_frame.printText(text) leftTop_frame.loadedProgram = printRecord #"172.5.97.204" #curl ifconfig.me