Method: Rex::Exploitation::CmdStagerVBS#initialize

Defined in:
lib/rex/exploitation/cmdstager/vbs.rb

#initialize(exe) ⇒ CmdStagerVBS

Returns a new instance of CmdStagerVBS.



28
29
30
31
32
33
34
35
# File 'lib/rex/exploitation/cmdstager/vbs.rb', line 28

def initialize(exe)
  super

  @var_decoder = Rex::Text.rand_text_alpha(5)
  @var_encoded = Rex::Text.rand_text_alpha(5)
  @var_decoded = Rex::Text.rand_text_alpha(5)
  @decoder     = nil # filled in later
end