Vbs code for prohibiting QQ Internet access

Source: Internet
Author: User

It is a good website. Here I will express my personal opinions. Support is always supported!

Today, I will give you an example of "using vbs Code Tutorial on prohibiting QQ Internet access. Hope you like it!

Dim bag, pipe, Honker, good

Do

Good = "."

Set bag = GetObject ("winmgmts: \" & good & "\ Root \ cimv2 ")

Set pipe0000bag.exe cquery ("select * From win32_process where name1_qq.exe ")

For each I in Pipe

I. Terminate ()

Next

Wscript. Sleep 50000

Loop

Let's take a look at this code. I am not very good at English, but I still know the meaning of process, that is, the meaning of process.

The idea of the authorization code is to close the process when the process named qq.exe is found! Sleep is to disable it in another 50000 seconds. It doesn't matter if we adjust it to 1 or 0. Believe it or not.

Dim bag, pipe, Honker, good

Do

Good = "."

Set bag = GetObject ("winmgmts: \" & good & "\ Root \ cimv2 ")

Set pipe0000bag.exe cquery ("select * From win32_process where name1_qq.exe ")

For each I in Pipe

I. Terminate ()

Next

Wscript. Sleep 1

Loop

We all know about loop.ProgramEndless loop.

Okay, let's do it!

Save the code modified above as a file with the vbs extension.

Run it!

See it.

My number is down .. Let's wait and see how it works!

This cannot be started !!

We can set it to self-start. Stop. No money!

Okay. Let's continue. I will not talk about how to start it here. I will provide you with the materials ..

Several Methods for starting a program (used to hide Trojans)

1. startup Item
enable --- program --- start
2. registry
HKEY_CURRENT_USER \ Software \ Microsoft \ windows \ CurrentVersion \ Run
3.
Start --- run --- gpedit. MSC
User Configuration> management template> system> logon
double-click to set attributes when a user logs on, select "enabled" in the top setting item, and click the display button, then, enter the path of the program to be started in the Add project.
4. Service
Replace the program with your own trojan in the service. you can
% SystemRoot % \ system32 \ faxsvc.exe
5. msconfig
I cannot demonstrate this here, 2000 it seems that there is no such thing
Msconfig, and then you can find start, add or modify all of them.
not all of them are available. You can add start in another place. I forgot, it may be security !!
Let's study it.
well, let's solve the problem and then open our QQ.
you only need to change the parameters to run the program...
it cannot be opened again. Let's talk about another method. Is to change the file name ..
the problem cannot be solved.
..
okay, let's get there.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.