New ideas to restore system administrator password with Gene (5)

  
        Step 11: After that, we can see that there is one more software account in the system, and his authority is also the administrator, so we have realized the function of restoring the system administrator password. (Figure 10) (Figure 11)
Figure 10

Figure 11

Tip:

Of course, before we entered in xx.cmd is just established The account command is actually used to allow us to restore the account information directly through the network remote maintenance server. We can add more commands, such as net localgroup Remote Desktop Users softer /add to add the soft account to the remote control group member to realize its remote desktop. For the purpose of connection login, you also need to add reg add "HKLM\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server" /f /v fDenyTSConnections /t REG_DWord /d 0 command to ensure that the registry information is added to the server remote desktop service parameter command, after all Many times the server does not necessarily have remote control enabled. Then we use the shutdown -r -t 0 command to restart the server and make the modified configuration parameters take effect.

Third, summary:

The implementation principle of this article is to achieve the purpose of running a cmd executable file through FTP execution permission, and complete the system account addition and reset function by adding CMD instruction in advance. Of course, this intrusion can also be prevented. We only need to publish our own installation directory when publishing FTP through the gene. If you want to publish, you only need to not give full access to the corresponding account. Of course, after FTP login, you can execute a lot of instructions. With the script, we can implement more functions. I hope that this article can achieve the effect of throwing bricks and jade, so that more network administrators can pay attention to the application of script command execution and solve more practical problems. .

Copyright © Windows knowledge All Rights Reserved