Default command classes¶
- class tuoni.ExecutionNew(proc_name='notepad.exe', suspended=True, ppid=None, username=None, password=None)[source]¶
Execution context ‘NEW’ helper class
- class tuoni.TuoniCommandBof(bof_file, method='go', inputArgs=None, inputArgsEncoding=None, inputAsBytes=None, pack_format=None, pack_args=None)[source]¶
Default command type “bof” helper class
- class tuoni.TuoniCommandCmd(command, stdin=None, outputEncoding=None)[source]¶
Default command type “cmd” helper class
- class tuoni.TuoniCommandRun(cmdline, output=True, stdin=None, unicode=None, outputEncoding=None)[source]¶
Default command type “run” helper class
- class tuoni.TuoniCommandPowershell(command=None, stdin=None, outputEncoding=None)[source]¶
Default command type “powerhsell” helper class
- class tuoni.TuoniCommandSleep(sleep_time, sleep_random)[source]¶
Default command type “sleep” helper class
- class tuoni.TuoniCommandTokenMake(username, password)[source]¶
Default command type “token-make” helper class
- class tuoni.TuoniCommandRm(filepath, execution_conf=None)[source]¶
Default command type “rm” helper class
- class tuoni.TuoniCommandDownload(filepath, execution_conf=None)[source]¶
Default command type “download” helper class
- class tuoni.TuoniCommandUpload(filepath, data, execution_conf=None)[source]¶
Default command type “upload” helper class
- class tuoni.TuoniCommandCp(source, destination, execution_conf=None)[source]¶
Default command type “cp” helper class
- class tuoni.TuoniCommandMv(source, destination, execution_conf=None)[source]¶
Default command type “mv” helper class
- class tuoni.TuoniCommandMkdir(dirpath, execution_conf=None)[source]¶
Default command type “mkdir” helper class
- class tuoni.TuoniCommandSocks5(port, execution_conf=None)[source]¶
Default command type “socks5” helper class
- class tuoni.TuoniCommandConnectTcp(host, port, execution_conf=None)[source]¶
Default command type “connect-tcp” helper class
- class tuoni.TuoniCommandexecuteAssembly(executable, parameters, execution_conf=None)[source]¶
Default command type “execute-assembly” helper class
- class tuoni.TuoniCommandInject(shellcode, execution_conf=None)[source]¶
Default command type “inject” helper class
- class tuoni.TuoniCommandProcinfo(execution_conf=None)[source]¶
Default command type “procinfo” helper class
- class tuoni.TuoniCommandScreenshot(execution_conf=None)[source]¶
Default command type “screenshot” helper class
- class tuoni.TuoniCommandSpawn(payloadId, encrypted_communication=True, execution_conf=None)[source]¶
Default command type “spawn” helper class
- class tuoni.TuoniCommandJumpService(payloadId=None, copyMethod=None, copyPath=None, target=None, servicePath=None, serviceName=None, serviceDisplayName=None, cleanup=None, username=None, password=None, execution_conf=None)[source]¶
Default command type “jump-service” helper class
- class tuoni.TuoniCommandJumpWinrm(payloadId=None, copyMethod=None, copyPath=None, target=None, executablePath=None, customPowershell=None, username=None, password=None, execution_conf=None)[source]¶
Default command type “jump-winrm” helper class
- class tuoni.TuoniCommandJumpWmi(payloadId=None, copyMethod=None, copyPath=None, target=None, cmdline=None, username=None, password=None, execution_conf=None)[source]¶
Default command type “jump-wmi” helper class