Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use vbs to disable QQ access to the Internet

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly shows you "how to use vbs to prohibit QQ Internet", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use vbs to ban QQ Internet access" this article.

Dim bag,pipe,honker,good

Do

Good= "."

Set bag=getobject ("winmgmts:\" & good& "\ root\ cimv2")

Set pipe=bag.execquery ("select * from win32_process where name='QQ.exe'")

For each i in pipe

I.terminate ()

Next

Wscript.sleep 50000

Loop

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

The above code means to shut down a process named QQ.exe when it is found! Sleep just shuts it down in 50000 seconds. It doesn't matter if we set it to 1pc0. Try it if you don't believe me.

Dim bag,pipe,honker,good

Do

Good= "."

Set bag=getobject ("winmgmts:\" & good& "\ root\ cimv2")

Set pipe=bag.execquery ("select * from win32_process where name='QQ.exe'")

For each i in pipe

I.terminate ()

Next

Wscript.sleep 1

Loop

Loop we all know, is to let this program loop.

All right, let's overdo it!

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

Run it!

See?

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

Gengben can't start!

We'll just set it to self-starting again. Just stop. There's no money!

All right, let's move on. I won't talk about how to start it here. Let me find some information for you.

Several ways to boot the program (used to hide Trojans)

1. Start item

Start the operation-the program-start

2. In the registry

HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Run

3. Among the group policies that are the most difficult to find

Start-run-gpedit.msc

User configuration-manage template-system-login

Double-click when the user logs in, make the property settings, select the enabled item in the top setting item, and click the display button, and then enter the path of the program you want to start in the add project

4. Service

It is also possible to replace the programs in the service with your own Trojan horse.

% systemroot%\ system32\ faxsvc.exe

5 、 msconfig

I can't demonstrate this here. I don't seem to have it in 2000.

Type msconfig in the run, and then you can find startup, add or modify it.

Not very complete, there is a place to add startup, I forgot, may be in the security strategy!

The above is all the contents of the article "how to use vbs to disable QQ from the Internet". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report