Skip to content

Conversation

@esecdj
Copy link
Owner

@esecdj esecdj commented Aug 26, 2025

No description provided.

$pass = $_POST[ 'password' ];
$pass = stripslashes( $pass );
$pass = ((isset($GLOBALS["___mysqli_ston"]) && is_object($GLOBALS["___mysqli_ston"])) ? mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $pass ) : ((trigger_error("[MySQLConverterToo] Fix the mysql_escape_string() call! This code does not work.", E_USER_ERROR)) ? "" : ""));
$pass = md5( $pass );

Check notice

Code scanning / SnykCode

Use of Password Hash With Insufficient Computational Effort Note

MD5 hash (used in {0}) is insecure. Consider changing it to a secure hashing algorithm.
}

$query = "SELECT * FROM `users` WHERE user='$user' AND password='$pass';";
$result = @mysqli_query($GLOBALS["___mysqli_ston"], $query ) or die( '<pre>' . ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) : (($___mysqli_res = mysqli_connect_error()) ? $___mysqli_res : false)) . '.<br />Try <a href="setup.php">installing again</a>.</pre>' );

Check warning

Code scanning / SnykCode

Information Exposure Warning

{0} {1} to {2} and is leaked to the attacker. This may disclose important information about the application to an attacker.
@esecdj esecdj merged commit 9917dd1 into main Aug 26, 2025
9 of 15 checks passed
@esecdj esecdj deleted the esecdj-patch-2 branch August 26, 2025 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants