Class: Ronin::Payloads::Shellcode::BindShellPayload
- Inherits:
-
Ronin::Payloads::ShellcodePayload
- Object
- Payload
- BinaryPayload
- ASMPayload
- Ronin::Payloads::ShellcodePayload
- Ronin::Payloads::Shellcode::BindShellPayload
- Includes:
- Mixins::BindShell, Mixins::Network, Mixins::ResolveHost
- Defined in:
- lib/ronin/payloads/shellcode/bind_shell_payload.rb
Overview
Base class for all bind shell shellcode payloads.
Direct Known Subclasses
FreeBSD::X86::BindShell, Linux::ARM::BindShell, Linux::MIPS::BindShell, Linux::X86::BindShell, Linux::X86_64::BindShell, OpenBSD::X86::BindShell
Instance Attribute Summary
Attributes included from Mixins::PostEx
Attributes inherited from Payload
Instance Method Summary collapse
-
#packed_port(**kwargs) ⇒ String
The bind shell's packed port number in network byte-order.
Methods included from Mixins::Network
#pack_ipv4, #pack_ipv6, #pack_port
Methods included from Mixins::ResolveHost
#host_address, #host_addresses, #host_ip_address, #host_ip_addresses, #host_ipv4_address, #host_ipv4_addresses, #host_ipv6_address, #host_ipv6_addresses
Methods included from Mixins::BindShell
#host, included, #perform_postlaunch, #port
Methods included from Mixins::PostEx
Methods inherited from Ronin::Payloads::ShellcodePayload
Methods inherited from ASMPayload
#assemble, assembler, payload_type
Methods included from Metadata::OS
Methods included from Metadata::Arch
Methods inherited from BinaryPayload
Methods inherited from Payload
#build, #built?, #built_payload, #bytesize, #cleanup, #encode_payload, #encoded_payload, encoder_class, #initialize, #length, payload_type, #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
Instance Method Details
#packed_port(**kwargs) ⇒ String
The bind shell's packed port number in network byte-order.
53 54 55 |
# File 'lib/ronin/payloads/shellcode/bind_shell_payload.rb', line 53 def packed_port(**kwargs) pack_port(port,**kwargs) end |