Security Basics mailing list archives

Re: nc help needed.


From: H Carvey <keydet89 () yahoo com>
Date: 24 Sep 2004 13:24:30 -0000

In-Reply-To: <1095952917.759.824.camel () dhanush intranet calsoft com>

Trying to use the nc command from a windows 2k box : 

nc -v -L -e cmd.exe -p 139 -s xxx.xxx.xxx.xxx

The error given is :  Can't grab xxx.xxx.xxx.xxx:139 with bind. 

s -> destination host where the null sessions on 139 are accepted. 

Any clue, how to to get the cmd working on the remote host ? 

Uhm...Google??

Seriously, dude...wow...you're so far off course with this...

I'd strongly suggest that you go back and read the docs...RTFM, my friend.  The reason is that if you want to use 
netcat to launch a command shell on the remote host, you have to have netcat installed and running as a listener on 
that host.  

If all you're trying to do is get a shell on the remote system and you have the necessary access to the system, try 
using psexec.exe from SysInternals instead...

H. Carvey
http://www.windows-ir.com
http://groups.yahoo.com/group/windowsir/

---------------------------------------------------------------------------
Computer Forensics Training at the InfoSec Institute. All of our class sizes
are guaranteed to be 12 students or less to facilitate one-on-one
interaction with one of our expert instructors. Gain the in-demand skills of
a certified computer examiner, learn to recover trace data left behind by
fraud, theft, and cybercrime perpetrators. Discover the source of computer
crime and abuse so that it never happens again.

http://www.infosecinstitute.com/courses/computer_forensics_training.html
----------------------------------------------------------------------------


Current thread: