/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
external/source/exploits/CVE-2016-4669/__task.h
49 строк
1 KB
Tim W
Add module for iOS 7.1.2
27 июл 2020, 10:05
27 июл 2020, 10:05
79adcf7
Код
Авторство
О чём код?
#ifndef _task_user_ #define _task_user_ /* Module task */ #include <string.h> #include <mach/ndr.h> #include <mach/boolean.h> #include <mach/kern_return.h> #include <mach/notify.h> #include <mach/mach_types.h> #include <mach/message.h> #include <mach/mig_errors.h> #include <mach/port.h> #ifndef KERNEL #if defined(__has_include) #if __has_include(<mach/mig_voucher_support.h>) #ifndef USING_VOUCHERS #define USING_VOUCHERS #endif #ifndef __VOUCHER_FORWARD_TYPE_DECLS__ #define __VOUCHER_FORWARD_TYPE_DECLS__ #ifdef __cplusplus extern "C" { #endif extern boolean_t voucher_mach_msg_set(mach_msg_header_t *msg) __attribute__((weak_import)); #ifdef __cplusplus } #endif #endif // __VOUCHER_FORWARD_TYPE_DECLS__ #endif // __has_include(<mach/mach_voucher_types.h>) #endif // __has_include #endif // !KERNEL #ifdef __MigPackStructs #pragma pack(4) #endif typedef struct { mach_msg_header_t Head; NDR_record_t NDR; kern_return_t RetCode; } __Reply__mach_ports_register_t __attribute__((unused)); #ifdef __MigPackStructs #pragma pack() #endif #endif