Module: Rex::Post::Meterpreter::Extensions::Python

Defined in:
lib/rex/post/meterpreter/extensions/python/tlv.rb,
lib/rex/post/meterpreter/extensions/python/python.rb,
lib/rex/post/meterpreter/extensions/python/command_ids.rb

Defined Under Namespace

Classes: Python

Constant Summary collapse

TLV_TYPE_PYTHON_STDOUT =
TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 1)
TLV_TYPE_PYTHON_STDERR =
TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 2)
TLV_TYPE_PYTHON_CODE =
TLV_META_TYPE_RAW    | (TLV_EXTENSIONS + 3)
TLV_TYPE_PYTHON_CODE_LEN =
TLV_META_TYPE_UINT   | (TLV_EXTENSIONS + 4)
TLV_TYPE_PYTHON_CODE_TYPE =
TLV_META_TYPE_UINT   | (TLV_EXTENSIONS + 5)
TLV_TYPE_PYTHON_NAME =
TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 6)
TLV_TYPE_PYTHON_RESULT_VAR =
TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 7)
TLV_TYPE_PYTHON_RESULT =
TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 8)
EXTENSION_ID_PYTHON =

ID for the extension (needs to be a multiple of 1000)

13000
COMMAND_ID_PYTHON_EXECUTE =

Associated command ids

EXTENSION_ID_PYTHON + 1
COMMAND_ID_PYTHON_RESET =
EXTENSION_ID_PYTHON + 2