Quantcast
Channel: Simple Password – LeakedIn
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ion to database, bail if no connection $connection = odbc_pconnect('workorders','',''); if (!$connection) { exit("Connection Failed: " . $connection); } //retrieve usernames and passwords $sql = "SELECT * FROM LoginTable WHERE EmployeeID='$employeeId' and Password='$password'"; $rs = odbc_exec($connection, $sql); if (!$rs) { exit("Error in SQL"); } if(odbc_fetch_row($rs)) { // register employeeId and [...]

Viewing all articles
Browse latest Browse all 2663

Trending Articles