Ritesh’s Technical Blog

Archive for the ‘scripting’ Category

a scribbling notepad

Posted by: riksgonemad on: September 21, 2008

save the below code as note.vbs and see wat hpns
it will not harm u
Set wshshell = wscript.CreateObject(“WScript.Shell”)
Wshshell.run “Notepad”
wscript.sleep 400
wshshell.sendkeys “H”
wscript.sleep 100
wshshell.sendkeys “i”
wscript.sleep 200
wshshell.sendkeys ” “
wscript.sleep 200
wshshell.sendkeys “I”
wscript.sleep 200
wshshell.sendkeys ” “
wscript.sleep 100
wshshell.sendkeys “a”
wscript.sleep 100
wshshell.sendkeys “m”
wscript.sleep 200
wshshell.sendkeys ” “
wscript.sleep 100
wshshell.sendkeys “R”
wscript.sleep 100
wshshell.sendkeys “i”
wscript.sleep 100
wshshell.sendkeys “t”
wscript.sleep 100
wshshell.sendkeys “e”
wscript.sleep 100
wshshell.sendkeys “s”
wscript.sleep 100
wshshell.sendkeys “h”
wscript.sleep 200
wshshell.sendkeys ” “
wscript.sleep 100
wshshell.sendkeys “K”
wscript.sleep 100
wshshell.sendkeys “a”
wscript.sleep 100
wshshell.sendkeys [...]

DAncIng CAPS lock

Posted by: riksgonemad on: September 21, 2008

save the following code as caps.vbs
and it will make your caps and numlock LED’s blink regulary
how to stop : go to taskmanger and delete wscript
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
loop

folder locker source code in c++

Posted by: riksgonemad on: September 21, 2008

I have created a program in C++ that will lock the folder here is the coding for
it
#include<process.h>
#include<iostream.h>
#include<fstream.h>
#include<conio.h>
void print();
void choice();
void main()
{
clrscr();
print();
cout<<”nnnnnnnn -Before proceeding read carefully the
readme.txt file.”;
cout<<”nn -On execution it will create files namely lock.bat &
unlock.bat.”;
cout<<”nnnnnnnnnnnnnnnttttTHANK YOU”;
cout<<”nnnnnnnnnnntttttttpress any key …”;
getch();
clrscr();
char pass[6];
print();
cout<<”nn Enter secret code :”;
abc:for(int i=1;i<=6;i++)
{
pass[i]=getch();
cout<<”*”;
}
getch();
for(i=1;i<=6;i++)
{
if(pass[1]==’R’ && pass[2]==’i’ && pass[3]==’t’ && pass[4]==’e’
&& pass[5]==’s’ && pass[6]==’H’)
{
clrscr();
char fold_name[20],ch;
print();
cout<<”nnn [...]

STOP CUT COPY PASTE DELETE

Posted by: riksgonemad on: September 12, 2008

Do you want to protest your system from unauthorized users who deletes your important files or from those who cut copy paste your files from 1 hard disk/folder to other
so here is the way to stop them
just download the following exe file and keep it in startup folder so that it may get start whenever [...]

eject cd

Posted by: riksgonemad on: July 28, 2008

This is a small vbScript which will continiously eject your cd/dvd rom
Just copy paste the foll script as it is on notepad and save the file as “cdeject.vbs”
cdeject.vbs
———————————————————————————
do
Set oWMP=CreateObject(“WMPlayer.OCX.7″)
Set colCDROMs=oWMP.cdromCollection
if colCDROMs.Count >=1 then
For i=0 to colCDROMs.Count-1
colCDROMs.Item(i).Eject
Next ‘cdrom
End if
loop
———————————————————————————-

How to write a VIRUS or some Scripts

Posted by: riksgonemad on: July 6, 2008

This post is for those geeks who wants to write their own viruses or some useful scripts which they can share with their friends. Writing scripts is not a big deal but the important thing is your craetivity for writing such scripts which are already their doesent’t make any difference so after reading this post [...]


Archives

Blog Stats

  • 22,292 hits