phra / PEzor

Open-Source Shellcode & PE Packer
https://iwantmore.pizza/posts/PEzor.html
GNU General Public License v3.0
1.81k stars 320 forks source link

cmd window is visible #52

Closed Simon-Davies closed 2 years ago

Simon-Davies commented 3 years ago

You need to hide the cmd window for the generated .exe

You can use the below function:

FreeConsole();

https://docs.microsoft.com/en-us/windows/console/freeconsole

Try changing this file: https://github.com/phra/PEzor/blob/master/PEzor.cpp

`int _main(int argc, char** argv) { FreeConsole();

ifdef DEBUG`