Files
hacksysteam-HackSysExtremeV…/Exploit/Source/HackSysEVDExploit.h
T
2015-05-28 15:05:20 +05:30

68 lines
2.2 KiB
C

/*++
/$$ /$$ /$$ /$$$$$$
| $$ | $$ | $$ /$$__ $$
| $$ | $$ /$$$$$$ /$$$$$$$| $$ /$$| $$ \__/ /$$ /$$ /$$$$$$$
| $$$$$$$$ |____ $$ /$$_____/| $$ /$$/| $$$$$$ | $$ | $$ /$$_____/
| $$__ $$ /$$$$$$$| $$ | $$$$$$/ \____ $$| $$ | $$| $$$$$$
| $$ | $$ /$$__ $$| $$ | $$_ $$ /$$ \ $$| $$ | $$ \____ $$
| $$ | $$| $$$$$$$| $$$$$$$| $$ \ $$| $$$$$$/| $$$$$$$ /$$$$$$$/
|__/ |__/ \_______/ \_______/|__/ \__/ \______/ \____ $$|_______/
/$$ | $$
| $$$$$$/
\______/
Copyright (C) 2010-2015 HackSys Team. All rights reserved.
This file is part of HackSys Extreme Vulnerable Driver Exploit.
See the file 'LICENSE' for copying permission.
Author : Ashfaq Ansari
Contact: ashfaq_ansari1989[at]hotmail.com
Website: http://hacksys.vfreaks.com
Project Name:
HackSys Extreme Vulnerable Driver Exploit
Module Name:
HackSysEVDExploit.h
Abstract:
This module implements the data structures used by the
main exploit module handling the exploitation routines.
--*/
#ifndef __EXPLOIT_H__
#define __EXPLOIT_H__
#pragma once
#include "arg.h"
#include "Common.h"
typedef enum _VULNERABILITY_TYPE {
PoolOverflow,
UseAfterFree,
TypeConfusion,
StackOverflow,
IntegerOverflow,
StackOverflowGS,
ArbitraryOverwrite,
NullPointerDereference
} VULNERABILITY_TYPE, *PVULNERABILITY_TYPE;
typedef struct _EXPLOIT_VULNERABILITY {
VULNERABILITY_TYPE VulnerabilityType;
PTCHAR Command;
} EXPLOIT_VULNERABILITY, *PEXPLOIT_VULNERABILITY;
static VOID ShowUsage(PTCHAR argv0);
BOOL IsProcessHavingHigherPrivilege(LPCSTR processToOpen);
VOID Exploit(PEXPLOIT_VULNERABILITY pExploitVulnerability);
VOID LaunchExploitThread(LPTHREAD_START_ROUTINE lpExploitHandlerThread);
#endif //__EXPLOIT_H__