Method: Rex::Text.rand_text
- Defined in:
- lib/rex/text.rb
.rand_text(len, bad = '', chars = AllChars) ⇒ Object
Generate random bytes of data
1217 1218 1219 1220 |
# File 'lib/rex/text.rb', line 1217 def self.rand_text(len, bad='', chars = AllChars) foo = chars.split('') rand_base(len, bad, *foo) end |