I have a netcat listener running from a script
@echo off
nc.exe -Ldp 4444 -e cmd.exe
and the command prompt stays open. I am not great at Windows scripting so how do I force the command prompt to close after the initial running?
I have a netcat listener running from a script
@echo off
nc.exe -Ldp 4444 -e cmd.exe
and the command prompt stays open. I am not great at Windows scripting so how do I force the command prompt to close after the initial running?
2 Responses
There's a free program called Quiet that works quite nicely. I didn't test it with nc, but it worked with a few other things so it should get the job done.http://www.joeware.net/freetools/tools/quiet/
Best of luck!
Thank you for the tip!
Share Your Thoughts