Method: Rex::Exploitation::Powershell::Obfu#sub_funcs
- Defined in:
- lib/rex/exploitation/powershell/obfu.rb
#sub_funcs ⇒ String
Identify function names and replace them
71 72 73 74 75 76 77 78 |
# File 'lib/rex/exploitation/powershell/obfu.rb', line 71 def sub_funcs # Find out function names, make map get_func_names.each do |var, _sub| code.gsub!(var, @rig.init_var(var)) end code end |