Reset Dynamic (siteweaver 6.5) Admin Password Code _ website application

Source: Internet
Author: User
I do not know whether the government has a solution, just a few days ago I have a dynamic station on hand to forget the password, because the database is large, the original database has more than 14 m, not to mention that there is the size of the database filled with data, download down to upload also very time. Then according to the data structure of their own simple write a reset password applet.
Send the program to friends, he said after the use is very convenient. Think there should be other people need it, upload it up well:
Copy Code code as follows:

<% @language =vbscript codepage=936%>
<%
' Role: RESET admin admin password is 123456, applicable to more than 5 of the system, including Siteweaver 6.5
' Method: Upload the directory of the server's dynamic system, run this 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 as 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. "
%>

After decompression, put in the root directory, after the run password is reset to 123456. After the reset, please delete this file immediately, and login to the background to modify the password! Be sure to delete this file to prevent others from running and resetting the password again.

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.