Quantcast
Channel: LeakedIn
Viewing all articles
Browse latest Browse all 5503

Potential leak of data: Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: (json_encode($response)); } $user = $db->real_escape_string($_POST['username']); $pass = hash("md5", $db->real_escape_string($_POST['username'] . $_POST['password'])); $query = $db->query("select * from Users where user_name='$user' and password='$pass' and active=1"); if(!$query || is_null($query)) { $response['success'] = 0; $response['message'] = "Login Error"; } else { while($user = $query->fetch_array(MYSQL_ASSOC)) { $response['success'] = 1; $re Source: http://pastebin.com/raw.php?i=qHjLScrV

Viewing all articles
Browse latest Browse all 5503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>