Method: Msf::Exploit#rand_text_alphanumeric

Defined in:
lib/msf/core/exploit.rb

#rand_text_alphanumeric(length, bad = payload_badchars) ⇒ Object

Generate random alphanumeric characters avoiding the exploit’s bad characters.



1201
1202
1203
1204
1205
1206
1207
# File 'lib/msf/core/exploit.rb', line 1201

def rand_text_alphanumeric(length, bad=payload_badchars)
  if debugging?
    rand_text_debug(length)
  else
    Rex::Text.rand_text_alphanumeric(length, bad)
  end
end