/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/metasploit/framework/compiler/headers/windows.rb
33 строки
930 B
Wei Chen
Add support for XOR
19 июл 2018, 07:13
19 июл 2018, 07:13
f2fd247
Код
Авторство
О чём код?
require 'metasploit/framework/compiler/headers/base' module Metasploit module Framework module Compiler module Headers class Windows < Base attr_accessor :lib_dep_map attr_accessor :headers_path # Initializes the Windows headers. 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 end end end end end