loading
Picture of 5 Cool Batch Files
In This instructable you will get 5 codes for 5 useful batch things

- Password Generator
- Password Protected Command Prompt
- Website Crasher
- Website Pinger
- PC Cleanup Utilities

Step 1: Password Generator

Picture of Password Generator

This Batch generates number only passwords. You can choose from 1, 5. or 10 passowrds to show...all random

Code:

@echo off
:Start2
cls
goto Start
:Start
title Password Generator
echo I will make you a new password.
echo Please write the password down somewhere in case you forget it.
echo ----------------------------------------­-----------------------
echo 1) 1 Random Password
echo 2) 5 Random Passwords
echo 3) 10 Random Passwords
echo Input your choice
set input=
set /p input= Choice:
if %input%==1 goto A if NOT goto Start2
if %input%==2 goto B if NOT goto Start2
if %input%==3 goto C if NOT goto Start2
:A
cls
echo Your password is %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:Exit
exit
:B
cls
echo Your 5 passwords are %random%, %random%, %random%, %random%, %random%.
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:C
cls
echo Your 10 Passwords are %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
 
1-40 of 70Next »
GamingD5 months ago

doesn't work the website is still up when I did it

MyPCHostH GamingD47 seconds ago

Because all this script does is slow your own connection to the server that the website is on by sending larger packets of data to it. It won't crash anything except your own computer and slow your internet connection to a crawl.

I believe it takes much longer to crash than you think. Other real and highly illegal DOS software can do it nearly instantly, but this is a home-made one, it uses the pinging feature that batch has to do the crash. how this works is, when normally visiting a site, you send a request to the servers to see the site, it then responds with the site, this batch file pings the website, which does the same thing, it sends a request to the server and the server responds giving it data, but this loops the pinging, it continues to send request to the point of the site crashing, DDOS itsself means 'distributed denial of service', meaning that the batch file is pinging it so much, the server cant handle anyone else to visit the site, iv been blabbering but lemme get to the point, pro DDOS software sents thousands of visitors as once to crash it, while this just continuesly sneds requests one after another very, very quickly, meaning it has to be open for a long time.

DDoSing take more effort. Here is a lesson about them. DDoSing with only one programme or device is useless if you are wishing to take down a website. The requests that you make at the websites Will not fill up the servers. You will either need more programs or several device
MyPCHostH1 minute ago

This is about the most ridiculous thing I've seen :) I run servers for a living, all this is going to do, is slow your OWN internet connection to a crawl by opening a command prompt and sending bits of data to the IP/website. It does nothing to cause the server slow, only your own connection.

Code_Master2 years ago
testicleboy, you should never post this much crud on a forum page, it is completely unnecessary, put it in a file and upload it and then put the link!, on the page. Here, since you did anyways, i reduced your mountain and made some tweaks that i hope even you can follow simply. and it works BTW, Download it Here: http://www.2shared.com/file/KA4t9WIo/Loading.html , the download link is the small blue button at the bottom of the page it says download on it. GoodLuck :)
RW4 Code_Master7 months ago

The reason why people post code instead of the bat is because if you don't know if they made a malicious file or not and you don't want to accidentally autorun.

AndrewV10 RW411 days ago
Fyi you can click edit when you download it, and read the code
Hey everyone this is the Code_Master giving you an updated Pinger, i just took this guys pinger deleted all but like 3 lines and wala made it probably 340% better! ENJOY!
Download Link: http://www.2shared.com/file/EDw0o46c/Pinger.html
I tryed the Web Site Crasher and it did not Crash the website

please help

thanks
It's not powerful enough
radame (author)  tesladude1234 years ago
it takes a while...a doss atack is like 1 out of 10 chance that it will...luckly it does bcause I shut down a website for 3 hours...
XiloPac radame1 year ago

It is properly pronounced "DOS" or Denial Of Service. Not doss.

032827 XiloPac6 months ago

Actually child Dos is just a denial of service and ddos is a distributed denial of service attack

Can you give me a good website to crash

Here crash this one www.computherm-fabo.rs

xana radame4 years ago
i need a ip crasher version of this.

Sorry to tell you but you can't crash a website with a batch file

Now i crash any website i want.........Awkward silence..hahahahah

wcochran11 month ago

This code is so flawed I couldn't even try to fix it. I re wrote it so someone can learn something good from it... Here you go use this if you want to play with simple DDOS . If you place saystatic.exe in the same directory with this batch file it will speak to you . If not change @Saystatic to echo

@echo off

Title Dark Crash

color 0d

@SayStatic Enter the website you would like to crash

set /p input= Enter your Website here:

set /p p=packet size:

@SayStatic Processing Your request

@SayStatic Now Crashing Website

Goto Ping

:Ping

cls

ping %input% -i %p% -t

goto ping

FrostB1 month ago

Thank You :)

Pc.png
JamesA192 months ago

For the pc cleanup, at the very start type in a new line "echo off" without the quotes.
If you have seen the "c:\Users\James" thing (different for you) that should change it.

Here is the proper code:

echo off
menu
cls
echo --------------------------------------------------------------------------------
echo PC Cleanup Utility
echo --------------------------------------------------------------------------------
echo.
echo Select a tool
echo =============
echo.
echo [1] Delete Internet Cookies
echo [2] Delete Temporary Internet Files
echo [3] Disk Cleanup
echo [4] Disk Defragment
echo [5] Exit
echo.
set /p op=Run:
if %op%==1 goto 1
if %op%==2 goto 2
if %op%==3 goto 3
if %op%==4 goto 4
if %op%==5 goto exit
goto error
:1
cls
echo --------------------------------------------------------------------------------
echo Delete Internet Cookies
echo --------------------------------------------------------------------------------
echo.
echo Deleting Cookies...
ping localhost -n 3 >nul
del /f /q "%userprofile%\Cookies\*.*"
cls
echo --------------------------------------------------------------------------------
echo Delete Internet Cookies
echo --------------------------------------------------------------------------------
echo.
echo Cookies deleted.
echo.
echo Press any key to return to the menu. . .
pause >nul
goto menu
:2
cls
echo --------------------------------------------------------------------------------
echo Delete Temporary Internet Files
echo --------------------------------------------------------------------------------
echo.
echo Deleting Temporary Files...
ping localhost -n 3 >nul
del /f /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
cls
echo --------------------------------------------------------------------------------
echo Delete Temporary Internet Files
echo --------------------------------------------------------------------------------
echo.
echo Temporary Internet Files deleted.
echo.
echo Press any key to return to the menu. . .
pause >nul
goto menu
:3
cls
echo --------------------------------------------------------------------------------
echo Disk Cleanup
echo --------------------------------------------------------------------------------
echo.
echo Running Disk Cleanup...
ping localhost -n 3 >nul
if exist "C:\WINDOWS\temp"del /f /q "C:WINDOWS\temp\*.*"
if exist "C:\WINDOWS\tmp" del /f /q "C:\WINDOWS\tmp\*.*"
if exist "C:\tmp" del /f /q "C:\tmp\*.*"
if exist "C:\temp" del /f /q "C:\temp\*.*"
if exist "%temp%" del /f /q "%temp%\*.*"
if exist "%tmp%" del /f /q "%tmp%\*.*"
if not exist "C:\WINDOWS\Users\*.*" goto skip
if exist "C:\WINDOWS\Users\*.zip" del "C:\WINDOWS\Users\*.zip" /f /q
if exist "C:\WINDOWS\Users\*.exe" del "C:\WINDOWS\Users\*.exe" /f /q
if exist "C:\WINDOWS\Users\*.gif" del "C:\WINDOWS\Users\*.gif" /f /q
if exist "C:\WINDOWS\Users\*.jpg" del "C:\WINDOWS\Users\*.jpg" /f /q
if exist "C:\WINDOWS\Users\*.png" del "C:\WINDOWS\Users\*.png" /f /q
if exist "C:\WINDOWS\Users\*.bmp" del "C:\WINDOWS\Users\*.bmp" /f /q
if exist "C:\WINDOWS\Users\*.avi" del "C:\WINDOWS\Users\*.avi" /f /q
if exist "C:\WINDOWS\Users\*.mpg" del "C:\WINDOWS\Users\*.mpg" /f /q
if exist "C:\WINDOWS\Users\*.mpeg" del "C:\WINDOWS\Users\*.mpeg" /f /q
if exist "C:\WINDOWS\Users\*.ra" del "C:\WINDOWS\Users\*.ra" /f /q
if exist "C:\WINDOWS\Users\*.ram" del "C:\WINDOWS\Users\*.ram"/f /q
if exist "C:\WINDOWS\Users\*.mp3" del "C:\WINDOWS\Users\*.mp3" /f /q
if exist "C:\WINDOWS\Users\*.mov" del "C:\WINDOWS\Users\*.mov" /f /q
if exist "C:\WINDOWS\Users\*.qt" del "C:\WINDOWS\Users\*.qt" /f /q
if exist "C:\WINDOWS\Users\*.asf" del "C:\WINDOWS\Users\*.asf" /f /q
:skip
if not exist C:\WINDOWS\Users\Users\*.* goto skippy /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.zip del C:\WINDOWS\Users\Users\*.zip /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.exe del C:\WINDOWS\Users\Users\*.exe /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.gif del C:\WINDOWS\Users\Users\*.gif /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.jpg del C:\WINDOWS\Users\Users\*.jpg /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.png del C:\WINDOWS\Users\Users\*.png /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.bmp del C:\WINDOWS\Users\Users\*.bmp /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.avi del C:\WINDOWS\Users\Users\*.avi /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mpg del C:\WINDOWS\Users\Users\*.mpg /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mpeg del C:\WINDOWS\Users\Users\*.mpeg /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.ra del C:\WINDOWS\Users\Users\*.ra /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.ram del C:\WINDOWS\Users\Users\*.ram /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mp3 del C:\WINDOWS\Users\Users\*.mp3 /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.asf del C:\WINDOWS\Users\Users\*.asf /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.qt del C:\WINDOWS\Users\Users\*.qt /f /q
if exist C:\WINDOWS\Users\AppData\Temp\*.mov del C:\WINDOWS\Users\Users\*.mov /f /q
:skippy
if exist "C:\WINDOWS\ff*.tmp" del C:\WINDOWS\ff*.tmp /f /q
if exist C:\WINDOWS\ShellIconCache del /f /q "C:\WINDOWS\ShellI~1\*.*"
cls
echo --------------------------------------------------------------------------------
echo Disk Cleanup
echo --------------------------------------------------------------------------------
echo.
echo Disk Cleanup successful!
echo.
pause
goto menu
:4
cls
echo --------------------------------------------------------------------------------
echo Disk Defragment
echo --------------------------------------------------------------------------------
echo.
echo Defragmenting hard disks...
ping localhost -n 3 >nul
defrag -c -v
cls
echo --------------------------------------------------------------------------------
echo Disk Defragment
echo --------------------------------------------------------------------------------
echo.
echo Disk Defrag successful!
echo.
pause
goto menu
:error
cls
echo Command not recognized.
ping localhost -n 4 >nul
goto menu
:exit


echo Thanks for using PC Cleanup Utility by Ryan
ping 127.0.0.1 >nul
exit

joeriev2 months ago

if you do it like tis he saves the password as txt file

@echo off

:Start2

cls

goto Start

:Start

title Password Generator

echo I will make you a new password.

echo Please write the password down somewhere in case you forget it.

echo ----------------------------------------­-----------------------

echo 1) 1 Random Password

echo Input your choice

set input=

set /p input= Choice:

if %input%==1 goto A if NOT goto Start2

:A

cls

echo wachtwoord:%random%> achtwoord.txt

echo Your password is saved as a txt file

echo Now choose what you want to do.

echo 1) Go back to the beginning

echo 2) Exit

set input=

set /p input= Choice:

if %input%==1 goto Start2 if NOT goto Start 2

if %input%==2 goto Exit if NOT goto Start 2

:Exit

exit

ojohnson32 years ago
One thing that might be useful, is encrypting the username and password file. Any one have ideas?

This is somewhat late, but you could convert the .bat file into a .exe file using a free .bat to .exe converter. That's how I keep the source code hidden. Anyone with at least basic computer knowledge will be able to figure out the passwords and usernames otherwise, whereas if you were to convert it to a .exe file, it would make it a much more difficult task for them.

ctimm15 CODEFACE2 months ago

bat 2 exe converter's do provide some small amount of source code protection but all they do is wrap the contents, the code is just stored in a temporary folder while it runs not much protection if the really want to find it

xp4xbox CODEFACE3 months ago

But usually when you convert a .bat to a .exe, the .exe is marked as a virus. That's why I no longer use them.

You could replace letters with different ones, and then encrypt them when you get them from an external file. Should be easy.
ojohnson32 years ago
Remember that you would need to copy the entire code, Paste into a text file and rename to ".bat" at the end.

It might be that you cannot see extensions of files in the OS.
ctimm15 ojohnson32 months ago

.cmd is more recomended

ChristianB132 months ago

This batchfile will delete all of your personal images and movies, so don't try it out.

JackD84 months ago

I made the CmdLogin Love IT!!!!

GamingD5 months ago

I put htttp://staggeringbeauty.com/ in and it doesn't work please help

JosephO16 months ago

This is an ILLEGAL thing to do, people. If police find out, it will not be fun for you.

Guys :-D!! i made this sick cool exe file :-D i promise you, its so good you want to laug ;-P, check it out here: http://tinyurl.com/pnnb5p6 i promise!!

DylanS77 months ago

can anyone get me a proxy or batch file for facebook in school ??

HaydenS27 months ago

I dont think its right to use the website crasher. I used it once on a fun site but feel really REALLY bad. Sorry to everyone :(

KingstonG9 months ago

Much easier, shorter code is

@echo off

echo ====================================

echo Welcome to Batch Password Generator!

echo ====================================

echo Input how many Passwords you would like!

echo 1 = 1 password

echo 2 = 5 passwords

echo 3 = 10 passwords

set /p input=

if %input% == 1 goto 1

if %input% == 2 goto 2

if %input% == 3 goto 3

:1

echo %random% ok, this is your passwrod! Write it down to Remember it!

pause

:2

echo %random% %random% %random% %random% %random% Ok, these are your passwords! Write them down to remember them!

pause

:3

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% Ok, these are your passwords! Write them down to remember them!

pause

Yh that is an easier way KingstonG thanks for the advice
excelanto9 months ago

Thanks for your valuable posting.I have collect more than information from your website. It is really wonderful blog. please added more than tips. i'm working in <a href="http://www.excelanto.com/">content management In Chennai </a>.Here providing very low price CMS , responsive webdesign and ERP. you have any more than information kindly make me call this number 044-42127512 or send your mail info@excelanto.com.

1-40 of 70Next »