Class: Metasploit::Framework::Obfuscation::CRandomizer::CodeFactory::OutputDebugString
- Inherits:
-
Base
- Object
- Base
- Metasploit::Framework::Obfuscation::CRandomizer::CodeFactory::OutputDebugString
- Defined in:
- lib/metasploit/framework/obfuscation/crandomizer/code_factory/outputdebugstring.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ OutputDebugString
constructor
A new instance of OutputDebugString.
- #stub ⇒ Object
Methods inherited from Base
Constructor Details
#initialize ⇒ OutputDebugString
Returns a new instance of OutputDebugString.
11 12 13 14 |
# File 'lib/metasploit/framework/obfuscation/crandomizer/code_factory/outputdebugstring.rb', line 11 def initialize super @dep = ['OutputDebugString'] end |
Instance Method Details
#stub ⇒ Object
16 17 18 19 20 21 |
# File 'lib/metasploit/framework/obfuscation/crandomizer/code_factory/outputdebugstring.rb', line 16 def stub [ Proc.new { outputdebugstring_1 }, Proc.new { outputdebugstring_2 } ].sample.call end |