covertutils.shells.subshells package

Submodules

covertutils.shells.subshells.controlsubshell module

class covertutils.shells.subshells.controlsubshell.ControlSubShell(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ=' (>{stream}<) |-> ')[source]

Bases: covertutils.shells.subshells.simplesubshell.SimpleSubShell

__init__(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ=' (>{stream}<) |-> ')[source]
default(line)[source]
resetHandler()[source]
covertutils.shells.subshells.controlsubshell.message_handle(message, instance)[source]

covertutils.shells.subshells.examplesubshell module

class covertutils.shells.subshells.examplesubshell.ExampleSubShell(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ=' ExampleSubShell Stream:[{stream}]==> ')[source]

Bases: covertutils.shells.subshells.simplesubshell.SimpleSubShell

__init__(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ=' ExampleSubShell Stream:[{stream}]==> ')[source]
default(line)[source]
intro = '\nThis is an Example Shell. It has a custom prompt, and reverses all input before sending to the stage.\n\t'

covertutils.shells.subshells.filesubshell module

class covertutils.shells.subshells.filesubshell.FileSubShell(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='=|{stream}]> ~ ')[source]

Bases: covertutils.shells.subshells.simplesubshell.SimpleSubShell

__init__(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='=|{stream}]> ~ ')[source]
default(line)[source]
do_download(line)[source]
do_upload(line)[source]
help_download()[source]
help_upload()[source]

covertutils.shells.subshells.pythonapisubshell module

class covertutils.shells.subshells.pythonapisubshell.PythonAPISubShell(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='[{stream}] {intent_str} ')[source]

Bases: covertutils.shells.subshells.simplesubshell.SimpleSubShell

__init__(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='[{stream}] {intent_str} ')[source]
appendFileBuffer(line)[source]
append_comm_char = '+'
clearBuffer(line)[source]
default(line)[source]
emptyline()[source]
indentation = False
intented_prompt = '...'
loadFile(line)[source]
parseline(line)[source]
postcmd(stop, line)[source]
sendFileBuffer(line)[source]
sendPythonBuffer(buffer_=None)[source]
showBuffer(line)[source]
showStorage(line)[source]
specialCommand(line)[source]
special_comm_char = '@'
unintented_prompt = '>>>'
updatePrompt()[source]

covertutils.shells.subshells.shellcodesubshell module

class covertutils.shells.subshells.shellcodesubshell.ShellcodeSubShell(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='[{stream}]> ')[source]

Bases: covertutils.shells.subshells.simplesubshell.SimpleSubShell

__init__(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='[{stream}]> ')[source]
confirm()[source]
default(line)[source]
do_clear(line)[source]
do_show(line)[source]
fire_word = 'GO'
intro = 'This shell will properly format shellcode\n\tpasted from sources like "exploit-db.com" and "msfvenom"'
covertutils.shells.subshells.shellcodesubshell.format_shellcode(unformatted)[source]
covertutils.shells.subshells.shellcodesubshell.show(mixed_shellcode)[source]

covertutils.shells.subshells.simplesubshell module

class covertutils.shells.subshells.simplesubshell.SimpleSubShell(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='[{stream}]> ')[source]

Bases: cmd.Cmd

__init__(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ='[{stream}]> ')[source]
default(line)[source]
do_EOF(*args)[source]
emptyline()[source]
precmd(line)[source]
start()[source]
updatePrompt()[source]

covertutils.shells.subshells.stagesubshell module

class covertutils.shells.subshells.stagesubshell.StageSubShell(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ=' (-){stream}(+)> ')[source]

Bases: covertutils.shells.subshells.simplesubshell.SimpleSubShell

__init__(stream, handler, queue_dict, base_shell, ignore_messages=set(['X']), prompt_templ=' (-){stream}(+)> ')[source]
default(line)[source]
do_fload(line)[source]
do_mload(line)[source]
help_fload()[source]
help_mload()[source]

Module contents