Class: Metasploit::Framework::Obfuscation::CRandomizer::CodeFactory::StringAssignments
- Inherits:
-
Base
- Object
- Base
- Metasploit::Framework::Obfuscation::CRandomizer::CodeFactory::StringAssignments
- Defined in:
- lib/metasploit/framework/obfuscation/crandomizer/code_factory/string_assignments.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#good_dep?, #initialize, #normalized_stub
Constructor Details
This class inherits a constructor from Metasploit::Framework::Obfuscation::CRandomizer::CodeFactory::Base
Instance Method Details
#stub ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/metasploit/framework/obfuscation/crandomizer/code_factory/string_assignments.rb', line 11 def stub var_name = "fake_string_#{Metasploit::Framework::Obfuscation::CRandomizer::Utility.rand_int}" %Q| void stub() { const char* #{var_name} = "#{Metasploit::Framework::Obfuscation::CRandomizer::Utility.rand_string}"; }| end |