Module: Ronin::Payloads::CLI::Generator Private

Included in:
Commands::New
Defined in:
lib/ronin/payloads/cli/generator/payload_types.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

PAYLOAD_TYPES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Mapping of payload types and their file/class names.

{
  payload: {
    file:  'payload',
    class: 'Payload'
  },

  asm: {
    file:  'asm_payload',
    class: 'ASMPayload'
  },

  shellcode: {
    file:  'shellcode_payload',
    class: 'ShellcodePayload'
  },

  c: {
    file:  'c_payload',
    class: 'CPayload'
  },

  go: {
    file:  'go_payload',
    class: 'GoPayload'
  },

  rust: {
    file:  'rust_payload',
    class: 'RustPayload'
  },

  command: {
    file:  'command_payload',
    class: 'CommandPayload'
  },

  shell: {
    file:  'shell_payload',
    class: 'ShellPayload'
  },

  powershell: {
    file:  'powershell_payload',
    class: 'PowerShellPayload'
  },

  html: {
    file:  'html_payload',
    class: 'HTMLPayload'
  },

  javascript: {
    file:  'javascript_payload',
    class: 'JavaScriptPayload'
  },

  typpescript: {
    file:  'typescript_payload',
    class: 'TypeScriptPayload'
  },

  java: {
    file:  'java_payload',
    class: 'JavaPayload'
  },

  sql: {
    file:  'sql_payload',
    class: 'SQLPayload'
  },

  php: {
    file:  'php_payload',
    class: 'PHPPayload'
  },

  python: {
    file:  'python_payload',
    class: 'PythonPayload'
  },

  ruby: {
    file:  'ruby_payload',
    class: 'RubyPayload'
  },

  nodejs: {
    file:  'node_js_payload',
    class: 'NodeJSPayload'
  }
}