From 93f7e80ae97bba11058001b0530f7f403b27cdc8 Mon Sep 17 00:00:00 2001 From: hasherezade Date: Tue, 21 Aug 2018 02:36:21 +0200 Subject: [PATCH] [FEATURE] Added version info --- pe_to_shellcode/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pe_to_shellcode/main.cpp b/pe_to_shellcode/main.cpp index c1f0f74..92bdd48 100644 --- a/pe_to_shellcode/main.cpp +++ b/pe_to_shellcode/main.cpp @@ -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: [output_file]" << std::endl; system("pause"); return 0;