Module: Msf::Encoder::Type

Defined in:
lib/msf/core/encoder.rb

Overview

The type set that encoders can fall within. This classifies the type of output generated by the encoder in terms of the general character set that is used as well as other potential attributes.

Constant Summary collapse

AlphanumUpper =

'A' - 'Z', '0' - '9'

"alpha_upper"
AlphanumMixed =

'a' - 'z', 'A' - 'Z', '0' - '9'

"alpha_mixed"
AlphanumUnicodeUpper =

Unicode-safe 'A' - 'Z', '0' - '9'

"alpha_unicode_upper"
AlphanumUnicodeMixed =

Unicode-safe 'a' - 'z', 'A' - 'Z', '0' - '9'

"alpha_unicode_mixed"
NonAlpha =

toupper/tolower safe ascii - not 'a' - 'z', 'A' - 'Z'

"non_alpha"
NonUpper =

tolower safe ascii - not 'A' - 'Z' (more flexible than nonalpha)

"non_upper"
NonUpperUtf8Safe =

tolower safe ascii UTF8-safe (<= 0x7f only)

"non_upper_utf8_safe"
NonUpperUnderscoreSafe =

tolower safe underscore safe for CVE-2012-2329 - PHP CGI apache_request_headers bof

"non_upper_underscore"
Unspecified =

May result in the generation of any characters

"unspecified"
Raw =

The raw payload passed to the encoder will be the same as the encoded payload

"raw"
SingleStaticBit =

Special Single Static Bit encoder

"single_static_bit"
PrintfPHPMagicQuotes =

Special printf(1) via PHP magic_quotes Command Encoder

"printf_php_mq"
CmdPosixPerl =

perl encoding.

'perl'
CmdPosixEcho =

Bourne shell echo encoding.

'echo'
CmdPosixIFS =

Bourne shell $IFS encoding.

'ifs'
CmdPosixBrace =

Bash brace expansion encoding.

'brace'
CmdPosixBase64 =

Base64 encoding.

'base64'