Nmap Development mailing list archives

Hide ncat


From: Bruno Henrique <electron700 () gmail com>
Date: Fri, 09 Jan 2015 13:55:20 +0000

Hi,

I am trying to make static ncat runs in background, the same as the old
NetCat does when you use "-d"(Detach from console).
I added FreeConsole();; to the main function.
So now when I call "ncat.exe -l -k -p 6996 -e cmd.exe", I can close the
comand prompt and it will keep running.

BUT when I connect to it from another computer, it pops up a command prompt
screen, when I disconnect it closes!

Would you have any suggestion?
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: