hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Netcat With Password
wh173r
i saw some topics asking about a passworded telnet session. This is easily done in batch files...

the files i have attached do the following.

m-psw-modified.bat - creates the password in c:\ as "pass.*."

netd-modified.bat - listens on port 1085 for telnet requests, then sends those requests to c:\c-auth.bat.

c-auth-modified.bat - checks the dir (c:\) for the %ath% variable which ends up as the password you chose with m-psw-modified.bat. The variable is defined by user-input in the batch file.

So, if the variable equals the name of the file in c:\ (which was created by mkpass.bat), then it will send you cmd.exe of the remote computer, if not it will send you an authentication error, and disconnect. Done, and done.

Rename the files from -modified. (c-auth-modified.bat c-auth.bat).

This is only an example, many things may be changed such as the dir of your files (if you wanted this to be remote for example.).

You need NETCAT in the same dir as netd.bat, and named nc.exe (unless you modify netd.bat to do otherwise).
T-BoNe
great job was looking for this ty
Remulus
Thanks. Very interesting. I'll check it.
agamemnon
I posted one I made weeks ago that did the same sad.gif

*snif snif*

hehe... never mind.

-ed.
T-BoNe
QUOTE (agamemnon @ Dec 21 2003, 11:51 PM)
I posted one I made weeks ago that did the same sad.gif

*snif snif*

hehe... never mind.

-ed.

can't find the thread of that one with the search button?
Kynroxes
so sweet !!! netcat with password lol !!
agamemnon
QUOTE
can't find the thread of that one with the search button?


Here it is...

-ed.
kevin007
thanks, the only problem with this is security, the password is very simple to find tragically, but a few modifications, it cuts out the dumbasses, thx for the idea tho

tibbar
Hi

Theres a big flaw in this particular method...entering password "*" will work.

Sorry!

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.