is a good website, here I express personal opinion, support support always support!
Today I give you a "use VBS code to prohibit QQ Internet" tutorial. I hope you like it!
Dim Bag,pipe,honker,good
Todo
Good= "."
Set Bag=getobject ("winmgmts:\\" &good& "\root\cimv2")
Set Pipe=bag.execquery ("SELECT * from Win32_Process where Name=qq.exe")
For all I in pipe
I.terminate ()
Next
Wscript.Sleep 50000
Loop
Let's take a look at this piece of code. My English is not very good, but the process of its meaning I still know, is "process" meaning.
The above code means to close this process when it finds a process with the name QQ.exe! Sleep is to turn it off after 50,000 seconds. Let's move it to the 1,0. Do not believe you under the test.
Dim Bag,pipe,honker,good
Todo
Good= "."
Set Bag=getobject ("winmgmts:\\" &good& "\root\cimv2")
Set Pipe=bag.execquery ("SELECT * from Win32_Process where Name=qq.exe")
For all I in pipe
I.terminate ()
Next
Wscript.Sleep 1
Loop
Loop we all know, is to let this program dead loop.
All right, let's do this!
Save the code changed above as a file with a VBS extension.
Run down!
See it.
It's under my number. Let's wait and see how!
Not even the start!!
Let's set it up to start again. Stop first. There's no money!
Okay, here we go. How to start I'm not going to talk about this anymore. I'll find the information for you.
Several ways to boot up the program (used to hide the Trojan Oh)
1. Startup item
Open the---program---start
2, the Registration form
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
3, the least likely to be found in Group Policy
Start---run---gpedit.msc
User Configuration---Admin template---system---login
Double-click the property setting when the user logs on, select the "Enabled" item in the top settings item, and clicking the Display button, and then enter the path of the program you want to start in the Add Project
4. Service
In the service to replace the inside of the program into their own Trojan can also
%systemroot%\system32\faxsvc.exe
5, Msconfig
I can't show you this here, 2000 don't seem to have it.
Play Msconfig in the run, then you can find the boot, add or modify all can
Not very full, there is a place to add the start, I forget, may be the security policy down!!
Let's study it.
OK, let's figure out how to turn on our QQ again.
We just need to change the parameters to run it ...
We can't open it again, let's say another way. is to change the filename.
It's not open.
This solves the problem.
All right, here we go.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.