Instructables
loading
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
 
Remove these adsRemove these ads by Signing Up

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 58Next »
GamingD2 months ago

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

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
ojohnson32 years ago
One thing that might be useful, is encrypting the username and password file. Any one have ideas?
CODEFACE ojohnson311 months ago

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.

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.
JackD81 month ago

I made the CmdLogin Love IT!!!!

GamingD2 months ago

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

JosephO13 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!!

I tryed the Web Site Crasher and it did not Crash the website

please help

thanks
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 XiloPac3 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

DylanS74 months ago

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

HaydenS24 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 :(

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

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
KingstonG6 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
excelanto6 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.

BrandonB28 months ago

you guys want a really helpful batch file? i've used this all the time, it makes a text file of all the files in whatever drive the file is in, the best part is it's extremely simple and easy to remember! and it saves the text file in the folder/drive you're in. if you have a bunch of stuff on your computer, it will take up more memory than you think.

dir/s %cd% >allfiles.txt

CodeMadness8 months ago

You can create real batch file menus when echoing these two characters:

Ü

Û

Here is an example of what I made. It's weird! Hope you get the idea:

code:

@echo off
mode 1000
color e3
cls

:a
echo ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ
echo Û Û
echo Û Û Û ÜÜÜ Û Û
echo Û Û Û Û Û Û
echo Û ÛÜÜÜÛ Û Û Û
echo Û Û Û Û Û
echo Û Û Û ÜÛÜ Û Û
echo Û Û
echo Û Û
echo Û Û
echo Û Û
echo ÛÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÛÛ
echo ÙÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛÛÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÚ
pause >nul

excelanto8 months ago

Great posting, Really very useful sharing. I Am working in a <a href="www.excelanto.com">CMS In Chennai</a>.Here providing very low cost price, CMS and responsive webdesign. Just send your mail, this is mail id info@excelanto.com.Do You have Any Information Let me now.....044-42127512

what was the website you killed

www.vertiv.com

Regulators1 year ago

this is cool, but i made my own batch file, that allow you to download file from internet, just like download manager. please visit this instructables

http://www.instructables.com/id/How-To-download-Fi...

thanks dude!

Decim82 years ago
if anyone needs me to crash a website please ask, this program will not do anything, but i have made my own.

If anyone would please crash my school website, fairmont.k12.mn.us that would be great. Or if you're in for more of a challenge you could crash skyward.com :P

hay send me an email if your still interested in the school site thing my email is ddogss196@gmail.com

hay can you send me the commands for it cause i have to be connected to a server to crash the site and the server

Decim8 would you give out this version that "works"
bdblock944 years ago
is there any way i could program this so that it crashes a set website as soon as it is opened?
Unfortunately, you can't instantly crash it. It does the equivalent of opening a thousand tabs of the website, and it can't do it instantly. If you want it to open IE, just do "start www.example.com" and that'll open it in your default browser.
1-40 of 58Next »