SiteAzure重置超管密码(SA3.0版本以上适用)
SA3.0版本之前请参考:http://tech.powereasy.net/Item/4605.aspx
1、修改密码为(Admin666)
update PE_Common_Administrator set AdministratorPassword='bb862b0871abae90be4f387b46f4f6e2' where AdministratorName='administrator'
2、生成Hash
参数组成:
administrator.AdministratorName + administrator.AdministratorPassword + administrator.Email + administrator.MobileNumber + administrator.WeixinUserOpenId + Security.config中的AdministratorPasswordHashCode(此处为C0p8yKCrig)
通过在线Hash工具生成大写字母的Hash值(sha1类型),如:
由于MobileNumber和WeixinUserOpenId这个值默认都是空,所以这里可以不填;
拼接后:
administratorbb862b0871abae90be4f387b46f4f6e2administrator@siteazure.gov.cnC0p8yKCrig
加密后:
6B852ACD9719F33C90391DC1D2E91A63E84B7FC7
然后直接执行第三步修改Hash即可
3、修改Hash
update PE_Common_Administrator set Hash='6B852ACD9719F33C90391DC1D2E91A63E84B7FC7' where AdministratorName='administrator'