Module: Ronin::Exploits::Mixins::Text
- Includes:
- Support::Text::Random::Mixin
- Included in:
- SEH, StackOverflow
- Defined in:
- lib/ronin/exploits/mixins/text.rb
Overview
Generates random text data.
Example
include Mixins::Text
def build buffer = 'GET /' + random_alpha_numeric(5) + '/' + junk(1024) + payload # ... end
Instance Method Summary collapse
-
#junk(char = 'A', count) ⇒ String
Creates a String of junk data.
Instance Method Details
#junk(char = 'A', count) ⇒ String
Creates a String of junk data.
62 63 64 |
# File 'lib/ronin/exploits/mixins/text.rb', line 62 def junk(char='A',count) char * count end |