Train

PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : Netcat With Password


NI3
12-21-2003, 03:14 PM
i saw this on web

---
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).

------------