Home Man
Today's Posts

Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Help with Netcat

ip networking

👤 Login to reply

Thread Tools Search this Thread
# 1  
Old 09-12-2012
Help with Netcat

Hi all,

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.

Any ideas?
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Netcat ( nc -l ) as webserver chakrapani Emergency UNIX and Linux Support 3 12-15-2016 11:59 AM
Telnet vs netcat behavior ckmehta UNIX for Advanced & Expert Users 4 07-25-2014 01:52 PM
Help with sed to add delimiter to send HEX with netcat patx Shell Programming and Scripting 3 12-30-2011 10:16 AM
Post using nc(netcat) ajaypadvi Shell Programming and Scripting 3 07-27-2011 08:04 AM
Thank you radoulov for your help on netcat command (nc -lp) vectrum Linux 0 07-02-2011 07:00 AM
Please help me to install netcat on solaris praset Solaris 2 01-08-2011 03:05 PM
netcat prints blank pages dunpealslyr UNIX and Linux Applications 3 06-10-2010 11:17 AM
netcat MartyIX Shell Programming and Scripting 6 08-22-2008 07:29 AM
Netcat with Authentication? pileofrogs UNIX for Advanced & Expert Users 1 12-04-2006 09:48 AM
netcat like file transfer linuxdba Programming 2 04-28-2005 06:10 AM

All times are GMT -4. The time now is 05:15 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password