Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: .php--> <?php require_once('database.php'); function doLogin($_POST) { $username = $_POST['inputUsername']; $password = $_POST['inputPassword']; $encrypt = md5($password); $rs = mysql_query("select * from m_user where username = '$username' and password = '$encrypt'") or die(mysql_error()); $user = mysql_fetch_array($rs); } Source: http://pastebin.com/raw.php?i=X1Taygu1

Viewing all articles
Browse latest Browse all 2663

Trending Articles