Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: <?php include("config.php"); $decoded = json_decode(file_get_contents("php://input")); $username = $decoded -> {"username"}; $password = $decoded -> {"password"}; $query = "SELECT u_id FROM pluma_user where password='$password' and username='$username'"; $result = mysql_query($query); $obj = array(); $check = false; while($row=mysql_fetch_assoc($result)){ $check = true; $obj["result"] = "ok"; Source: http://pastebin.com/raw.php?i=TGVaJrUt
↧