Most visitors online was 12720 , on 2 May 2024
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
$sth->bindValue(":password", sha1($pass));
if (sha1($pass) != $row[1] && empty($msg)) {
hmm...I totally forgot about salts, idk what those are but I remember they are needed to login..I'll have to look into that o;
$oraios = $oraiosCore->getClass()->prepareStatement("SELECT accounts.name,accounts.password, accounts.id, accounts.gm, accounts.salt FROM accounts WHERE accounts.name = :name");
if (sha1($pass) != $row[1] && hash("sha512", $pass.$row[4]) != $row[1] && empty($msg)) {
File: top.php
I edited line 17:
PHP:$oraios = $oraiosCore->getClass()->prepareStatement("SELECT accounts.name,accounts.password, accounts.id, accounts.gm, accounts.salt FROM accounts WHERE accounts.name = :name");
so it gets the salt.
Then, I edited line 25:
PHP:if (sha1($pass) != $row[1] && hash("sha512", $pass.$row[4]) != $row[1] && empty($msg)) {
Basically, the way the salt is used is password+salt (to create one string), then that big string is hashed
SPLEDID! IT FIXED EVERYTHING THANK YOU. BTW its line 24 not Line 25
Except.. I need help with the register.. Can you please teach me how to add salt to register?
You are suppose to have admin access which tells you how to get in the main post, go to admin panel and click the setup profile name, and a popup should appear to type your profile name and click next, wait a bit and done! If that doesn't occur I'll look into it and fix that ASAPNo problem
Whatever, at least you got the line
On a side note, I can't get the Profile Name thing to work.
Can I manually add the profile name? o-o
You are suppose to have admin access which tells you how to get in the main post, go to admin panel and click the setup profile name, and a popup should appear to type your profile name and click next, wait a bit and done! If that doesn't occur I'll look into it and fix that ASAP
{"ACCID":"PROFILENAME"}