Create a Fake and Harmless Virus
/>:A
color 0a
cls
@echo off
echo Wscript.Sleep
echo Wscript.Sleep 5000>C:\sleep5000.vbs
echo Wscript.Sleep 3000>C:\sleep3000.vbs
echo Wscript.Sleep 4000>C:\sleep4000.vbs
echo Wscript.Sleep 2000>C:\sleep2000.vbs
cd %systemroot%\System32
dir
cls
start /w wscript.exe C:\sleep3000.vbs
echo Deleting Critical System Files...
echo del *.*
start /w wscript.exe C:\sleep3000.vbs
echo Deletion Successful!<brstart /w wscript.exe C:\sleep2000.vbs
echo:
echo:
echo:
echo Deleting Root Partition...
start /w wscript.exe C:\sleep2000.vbs
echo del %SYSTEMROOT%
start /w wscript.exe C:\sleep4000.vbs
echo Deletion Successful!
start /w wscript.exe C:\sleep2000.vbs
echo:
echo:
echo:
echo Creating Directory h4x...
cd C:\Documents and Settings\All Users\Start Menu\Programs\
mkdir h4x
start /w wscript.exe C:\sleep3000.vbs
echo Directory Creation Successful!
echo:
echo:
echo:
echo Execution Attempt 1...
start /w wscript.exe C:\sleep3000.vbs
echo cd C:\Documents and Settings\All Users\Start Menu\Programs\Startup\h4x\
echo start hax.exe
start /w wscript.exe C:\sleep3000.vbs
echo Virus Executed!
echo:
echo:
echo:
start /w wscript.exe C:\sleep2000.vbs
echo Disabling Windows Firewall...
start /w wscript.exe C:\sleep2000.vbs
echo Killing all processes...
start /w wscript.exe C:\sleep2000.vbs
echo Allowing virus to boot from startup...
start /w wscript.exe C:\sleep2000.vbs
echo:
echo:
echo Virus has been executed successfully!
start /w wscript.exe C:\sleep2000.vbs
echo:
echo Have fun!
start /w wscript.exe C:\sleep2000.vbs
pause
shutdown -s -t 10 -c "Your computer has committed suicide. Have a nice day."
1. Save it with a .bat extension. e.g. fakevirus.bat
[edit] Method 3
1. For a way to have a bunch of command prompts pop up out of nowhere go to Notepad and type in start a lot (Each on a separate line).
2. Save it with a .bat extension. e.g. fakevirus.bat
* A simpler method is to type start Happy.bat and then save it as Happy.bat
[edit] Method 4
To make a message box that you can't close copy this into Notepad
do
msgbox "your computer wishes you a nice day!", 16 + vbsystemmodal, "error"
loop
and save it with a .vbs extension. e.g. niceday.vbs
[edit] The method that no one will suspect
1. Right click on the desktop and go over to new then click short cut.
2. For the location of the short cut type in shutdown -s -t 5 -c "Warning, virus detected windows shutting down!"
3. Click next
4. Name the shortcut Internet Explorer.
5. Then next and then ok.
6. Right click on the shortcut you have just made and click properties change icon and look for the internet explorer icon and select it then click ok and ok.
7. There is also a program that removes shortcut arrows described in the tips section.
[edit] Abort Virus
1. Open the start menu.
2. Click Run (Windows XP only).
3. Type shutdown -a and press enter/return.
Batch
Simple Batch Programming Commands
01/08/2009 18:07———
Batch Administrator Commands
29/07/2009 09:46———
Batch Shutdown Commands
29/07/2009 09:41———
Batch Howtos
29/07/2009 09:26———
Batch File Information
28/07/2009 10:33———
Batch File Information
———
@echo off
title Sample Program.
:menu
color 1a
echo Batch Programming Menu:
echo 1.Begginners Examples
echo 2.Intermediate Examples
echo q or quit to End Program.
echo Type about for information About this Program.
echo Enter Choice:
set /p n=
if "%n%"=="about" goto about
if "%n%"=="quit" goto end
if "%n%"=="q" goto end
if "%n%"=="1" goto b
if "%n%"=="2" goto i
echo "%choice%" is not valid please try again!
echo.
goto menu
:about
msg * This is a Simple Program done in Batch File Programming by Nativman.
goto menu
:b
color 2a
echo Begginers Example Command Menu: Type j to jump to Menu.
echo 1.Check Disk.
echo 2.Display Disk Volume.
echo 3.Display Time.
echo 4.Display access Control List.
echo 5.Display command prompt.
echo Enter Your Choice:
set /p n=
if "%n%"=="quit" goto end
if "%n%"=="q" goto end
if "%n%"=="j" goto menu
if "%n%"=="1" goto chkdsk
if "%n%"=="2" goto vol
if "%n%"=="3" goto time
if "%n%"=="4" goto cacls
if "%n%"=="5" goto cmd
echo "%choice%" is not valid please try again!
echo.
goto b
:chkdsk
chkdsk
pause
goto b
:vol
vol
pause
goto b
:time
time
pause
goto b
:cacls
cacls
pause
goto b
:cmd
cmd
goto b
:i
color 3a
echo Intermediate Example Command Menu: Type j to jump to Menu.
echo 1.Create a Directory
echo 2.Run Exe Program Under Window OS
echo 3.Search Website - compatible with Mozilla Firefox
echo 4.Prohibit Access to Website-Window OS only
echo 5.Create a User Name/Account in Computer
echo 6.Change Password of Computer Account
echo 7.Delete the Computer Account.
echo 8.Pork Virus-be careful.
echo 9.Shutdown your Computer.
echo 10.Log off your Computer.
echo 11.Restart your Computer.
echo q or quit to end this Program.
echo -----
echo Enter Your Choice:
set /p n=
if "%n%"=="quit" goto end
if "%n%"=="q" goto end
if "%n%"=="j" goto menu
if "%n%"=="1" goto 1
if "%n%"=="2" goto 2
if "%n%"=="3" goto 3
if "%n%"=="4" goto 4
if "%n%"=="5" goto 5
if "%n%"=="6" goto 6
if "%n%"=="7" goto 7
if "%n%"=="8" goto 8
if "%n%"=="9" goto 9
if "%n%"=="10" goto 10
if "%n%"=="11" goto 11
echo "%choice%" is not valid please try again!
echo.
goto i
:1
echo Filename of the Directory:
set /p m=
mkdir c:\%m%
goto i
:2
echo Search Exe Program. type j to jump Intermediate Menu:
set /p n=
if "%n%"=="j" goto i
start %n%
goto i
:3
echo Search Website. type j to jump Intermediate Menu:
set /p n=
if "%n%"=="j" goto i
Start firefox %n%
goto i
:4
C:\WINDOWS\system32\drivers\etc\hosts
goto i
:5
echo Add user:
set /p n=
net user %n% /add
goto 1
:6
echo Change Password--File Name:
set /p n=
net user %n% *
goto i
:7
echo Delete user:
set /p n=
net user %n% /del
goto 1
:8
start %0%
:9
shutdown -s -t 10
:10
logoff
:11
shutdown -s -t 10
:end
msg * Thank You for using this Sample Batch PRogram.
———
Date 29/07/2009
By Administrator
Subject change password, delete user, add user using Batch in XP
ReplyTo change password.
code:
@echo off
echo Change Password:
set /p n=
net user %n% *
To add user.
code:
@echo off
echo Add user:
set /p n=
net user %n% /del
To delete user account.
code:
@echo off
echo Delete user:
set /p n=
net user %n% /del
———
@echo off
echo Search Websites:
:loop
set /p n=
start firefox %n%
goto loop
———
you cannot also include the loop statement so that you can search once only, as what is shown below.
@echo off
echo Search Websites:
set /p n=
start firefox %n%
———
@echo off
echo Run:
:loop
set /p n=
start %n%
goto loop
———