[FEATURE] Added version info

This commit is contained in:
hasherezade
2018-08-21 02:36:21 +02:00
parent e07fbb8130
commit 93f7e80ae9
+3 -1
View File
@@ -4,6 +4,8 @@
#include "peconv.h"
#include "resource.h"
#define VERSION "0.2"
bool overwrite_hdr(BYTE *my_exe, size_t exe_size, DWORD raw)
{
BYTE redir_code[] = "\x4D\x5A"
@@ -69,7 +71,7 @@ bool is_supported_pe(BYTE *my_exe, size_t exe_size)
int main(int argc, char *argv[])
{
if (argc < 2) {
std::cout << "PE to shellcode" << std::endl;
std::cout << "PE to shellcode v." << VERSION << " - EXPERIMENTAL"<< std::endl;
std::cout << "Args: <input_file> [output_file]" << std::endl;
system("pause");
return 0;