Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ipslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = mysql_real_escape_string($mypassword); $sql=mysqli_query($con,"SELECT * FROM registration WHERE Username='$myusername' and Password='$mypassword'"); // Mysql_num_row is counting table row $count=mysqli_num_rows($sql); // If result matched $myusername and $mypassword, table row must be 1 row if($count==1){ // Register $myusername, $mypassword and redirect to file "login_success.php" $_SESSION[ Source: […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles