Code for resetting the administrator password of siteweaver 6.5

Source: Internet
Author: User

I don't know if there is a solution on the official website. I just forgot one of my mobile website passwords a few days ago. Because of the large database, the original database has more than 14 Mb, not to mention the size of the database that has been filled in with data. It is time to download the database and upload it again. Therefore, according to the data structure, I simply wrote a small Password Reset Program .
Send the program to a friend, which is convenient after use. I think there should be other people who need it. Upload the file :) CopyCode The Code is as follows: <% @ Language = VBScript codePage = 936%>
<%
'Purpose: reset the Administrator admin password to 123456, applicable to systems with ease of operation 5 or above, including siteweaver 6.5
'Method: Upload the file to the directory of the server's mobile system and run the file.
'Note: Please delete it immediately after resetting!
'Author: itlearner
'Website: www.itlearner.com
Option explicit
%>
<! -- # Include file = "conn. asp" -->
<%
Openconn
Dim RS, SQL
Set rs = server. Createobject ("ADODB. recordset ")
SQL = "select * From pe_admin"
Rs. Open SQL, Conn, 2, 3
Do while not Rs. EOF
'Response. Write RS ("adminname") & "-" & RS ("password") & "<br>"
RS ("password") = "49ba59abbe56e057"
Rs. Update
Rs. movenext
Loop
Set rs = nothing
Response. Write "Password Reset successful! The new password is 123456. "
%>

decompress the package and place it in the root directory. After running the package, the password is reset to 123456. After resetting, immediately delete the file and log on to the background to change the password! Be sure to delete this file to prevent another user from re-resetting the password.

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.