Hide the Console (Cmd) Of an Exe
I have some trouble with exe payloads. When I try to execute them on Windows, A console (cmd) is opened and it don't disappear until I close the session.
Is there a way in C language to hide the output of an exe ?
I have already used the WinMain() method but it doesn't work.
It's very annoying to have this console. If the target close it (he/she will probably do it), I lose my meterpreter session.