Path: blob/master/lib/metasploit/framework/compiler/headers/windows.rb
19720 views
1require 'metasploit/framework/compiler/headers/base'23module Metasploit4module Framework5module Compiler6module Headers7class Windows < Base89attr_accessor :lib_dep_map10attr_accessor :headers_path1112# Initializes the Windows headers.13def initialize14super15@headers_path = File.join(Msf::Config.install_root, 'data', 'headers', 'windows')16@lib_dep_map = {17'stddef.h' => [],18'Windows.h' => ['stddef.h'],19'stdlib.h' => ['stddef.h'],20'stdio.h' => ['stddef.h'],21'String.h' => ['stddef.h'],22'Winsock2.h' => ['stddef.h', 'Windows.h'],23'rc4.h' => ['String.h', 'stdlib.h'],24'base64.h' => ['stddef.h'],25'xor.h' => ['stddef.h']26}27end2829end30end31end32end33end34353637