Class: Metasploit::Framework::Compiler::Headers::Windows
- Defined in:
- lib/metasploit/framework/compiler/headers/windows.rb
Instance Attribute Summary collapse
-
#headers_path ⇒ Object
Returns the value of attribute headers_path.
-
#lib_dep_map ⇒ Object
Returns the value of attribute lib_dep_map.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Windows
constructor
Initializes the Windows headers.
Methods inherited from Base
Constructor Details
#initialize ⇒ Windows
Initializes the Windows headers.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/metasploit/framework/compiler/headers/windows.rb', line 14 def initialize super @headers_path = File.join(Msf::Config.install_root, 'data', 'headers', 'windows') @lib_dep_map = { 'stddef.h' => [], 'Windows.h' => ['stddef.h'], 'stdlib.h' => ['stddef.h'], 'stdio.h' => ['stddef.h'], 'String.h' => ['stddef.h'], 'Winsock2.h' => ['stddef.h', 'Windows.h'], 'rc4.h' => ['String.h', 'stdlib.h'], 'base64.h' => ['stddef.h'], 'xor.h' => ['stddef.h'] } end |
Instance Attribute Details
#headers_path ⇒ Object
Returns the value of attribute headers_path.
11 12 13 |
# File 'lib/metasploit/framework/compiler/headers/windows.rb', line 11 def headers_path @headers_path end |
#lib_dep_map ⇒ Object
Returns the value of attribute lib_dep_map.
10 11 12 |
# File 'lib/metasploit/framework/compiler/headers/windows.rb', line 10 def lib_dep_map @lib_dep_map end |