by prettyscripts on 2009-05-13 12:19:33
snews uses a single login system. user name and password is stored in table settings and the data is encrypted to some random long string.
if you forgot yoru password, it doesn't seem to have any links to retrieve / reset password.
a look at the source code shows that user name and password are encrypted with md5.
there are 2 ways to reset passwords.
this is the prefered way.
to reset password, run the following sql:
Code:
update settings set value = md5('<your username>') where name = 'username'; | |
update settings set value = md5('<your password>') where name = 'password'; |
remember to replace the strings in <placeholders>!
doing a g00gle search about decrypting the md5 encrypted string, you can find a lot of sites to decrypt the string. you can use those sites to find out what was the original user name and password. but use those sites at your own risk. i wouldn’t advise using those facilities to retrieve your data as you don’t know what records are logged.