Help with Netcat
I know my question is regarding Windows and not Linux, but I simply need people who know Netcat pretty well and I'm guessing here is a good place for that. So on with my question.
I'm doing some research, and I was playing around with netcat on a WinXP VM but I can't seem to get something.
I tried this command:
nc -l -p 80 -e "c:\notepad.exe"
(I copied notepad.exe to c:\ folder)
But what happens is simply that netcat closes and does nothing. It does connect, because if I leave the command without the "-e" parameter like this:
nc -l -p 80
It does show me an output. But when I add the "-e" and any program (I tried cmd, and others) - nothing will execute, and netcat simply shuts down.
|Thread Tools||Search this Thread|
|More UNIX and Linux Forum Topics You Might Find Helpful|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Help with sed to add delimiter to send HEX with netcat||patx||Shell Programming and Scripting||3||12-30-2011 11:16 AM|
|Post using nc(netcat)||ajaypadvi||Shell Programming and Scripting||3||07-27-2011 09:04 AM|
|netcat||MartyIX||Shell Programming and Scripting||6||08-22-2008 08:29 AM|
|Netcat with Authentication?||pileofrogs||UNIX for Advanced & Expert Users||1||12-04-2006 10:48 AM|
|netcat like file transfer||linuxdba||Programming||2||04-28-2005 07:10 AM|