Nmap Development mailing list archives

Re: Hide ncat


From: Gisle Vanem <gvanem () yahoo no>
Date: Sat, 10 Jan 2015 12:27:36 +0000

Bruno Henrique wrote:
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?

Have you tried "start /inv cmd.exe" ?

--
--gv
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: