-
Notifications
You must be signed in to change notification settings - Fork 282
Expand file tree
/
Copy pathShellcodeCompiler.cpp
More file actions
35 lines (24 loc) · 646 Bytes
/
ShellcodeCompiler.cpp
File metadata and controls
35 lines (24 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Shellcode Test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "CommandLine.h"
#include "DLLBaseAddress.h"
#include "DeclaredFunctionsStates.h"
#include "CallFunctionsStates.h"
using namespace std;
// Main
int main(int argc, char *argv[])
{
// If there is no argument, print help
if (argc == 1)
{
CommandLine::PrintHelp(argv[0]);
return 0;
}
DLLBaseAddress::InitDLLBaseAddress();
DeclaredFunctionsStates::CreateDeclareFunctionsStates();
CallFunctionsStates::CreateCallFunctionsStates();
// Parse command line arguments
CommandLine::ParseCommandLine(argc, argv);
return 0;
}