Class: Ronin::Payloads::CommandPayload
- Defined in:
- lib/ronin/payloads/command_payload.rb
Overview
A Payload base class that represents generic commands (UNIX or PowerShell).
Direct Known Subclasses
Ronin::Payloads::CMD::Awk::ReverseShell, Ronin::Payloads::CMD::Bash::ReverseShell, Ronin::Payloads::CMD::Lua::ReverseShell, Ronin::Payloads::CMD::Netcat::BindShell, Ronin::Payloads::CMD::Node::ReverseShell, Ronin::Payloads::CMD::OpenSSL::ReverseShell, Ronin::Payloads::CMD::PHP::ReverseShell, Ronin::Payloads::CMD::Perl::ReverseShell, Ronin::Payloads::CMD::Ping, Ronin::Payloads::CMD::PowerShell::ReverseShell, Ronin::Payloads::CMD::Python::ReverseShell, Ronin::Payloads::CMD::Ruby::ReverseShell, Ronin::Payloads::CMD::Sleep, Ronin::Payloads::CMD::Touch, Ronin::Payloads::CMD::Windows::Download, Ronin::Payloads::CMD::Zsh::ReverseShell, ShellPayload, Test::CMD
Instance Attribute Summary
Attributes inherited from Payload
Class Method Summary collapse
-
.payload_type ⇒ Symbol
private
Returns the type or kind of payload.
Methods inherited from Payload
#build, #built?, #built_payload, #bytesize, #cleanup, #encode_payload, #encoded_payload, encoder_class, #initialize, #length, #perform_build, #perform_cleanup, #perform_postlaunch, #perform_prelaunch, #perform_validate, #postlaunch, #prelaunch, #rebuild_payload, #reencode_payload, register, #to_s, #validate
Constructor Details
This class inherits a constructor from Ronin::Payloads::Payload
Class Method Details
.payload_type ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This is used internally to map an payload class to a printable type.
Returns the type or kind of payload.
42 43 44 |
# File 'lib/ronin/payloads/command_payload.rb', line 42 def self.payload_type :command end |