Module: Ronin::Exploits::Helpers::BufferOverflow
- Defined in:
- lib/ronin/exploits/helpers/buffer_overflow.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#buffer ⇒ String
The buffer to use for the buffer overflow.
-
#targeting(attributes = {}) {|target| ... } ⇒ Object
Adds a new target to the exploit.
-
#use_payload_class ⇒ Payloads::Shellcode
The model which will be searched for acceptable payloads.
Class Method Details
Instance Method Details
#buffer ⇒ String
Returns The buffer to use for the buffer overflow.
43 44 45 |
# File 'lib/ronin/exploits/helpers/buffer_overflow.rb', line 43 def buffer @buffer ||= '' end |
#targeting(attributes = {}) {|target| ... } ⇒ Object
Adds a new target to the exploit.
59 60 61 |
# File 'lib/ronin/exploits/helpers/buffer_overflow.rb', line 59 def targeting(attributes={},&block) self.targets << Targets::BufferOverflow.new(attributes,&block) end |
#use_payload_class ⇒ Payloads::Shellcode
Returns The model which will be searched for acceptable payloads.
69 70 71 |
# File 'lib/ronin/exploits/helpers/buffer_overflow.rb', line 69 def use_payload_class Payloads::Shellcode end |