Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #11  
Old 31st March 2022, 12:07
Hector Hector is offline
Member
 
Join Date: Nov 2013
Hungary
Posts: 6
Default
Quote:
Originally Posted by MaD42 View Post
In takelogin.php I edited
PHP Code:
if ($row["passhash"] != md5($row["secret"] . $password $row["secret"]))
bark(); 
with

PHP Code:
//if ($row["passhash"] != md5($row["secret"] . $password . $row["secret"]))
// bark(); 
But now I found a new problem!All problems that I uploaded are red and I can stay at seed...What can I do?

Hi the problem with this is that it clears the password and everyone can log in with your username without a password maybe some other solution is possible?
Reply With Quote
  #12  
Old 16th April 2022, 05:32
Elena Elena is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 111
Default
Code:
function is_password_correct($password, $secret, $hash){
return ($hash == md5($secret . $password . $secret) || $hash == md5($secret . trim($password) . $secret));}

if(!is_password_correct($password, $row['secret'], $row['passhash'])){

stderr("Login failed!","<center><b>Error</b>: The username or password is not correct!</center><html><head><meta http-equiv='refresh' content='4;url=/'></head><body style='background:#2F4F4F no-repeat center center fixed;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;'></body></html>");
}
Reply With Quote
Reply

Tags
error , login

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 23:44. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.