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\-_\!\$]+["']‘: <?php class DB { public $Conn; function __construct() { $username = 'myusername'; $password = 'mypassword'; try { $conn = new PDO('mysql:host=localhost;dbname=myDatabase', $username, $password); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // show exceptions } catch(PDOException $e) { echo 'ERROR: ' . $e->getMessage(); Source: http://pastebin.com/raw.php?i=ahhQxhq7

Viewing all articles
Browse latest Browse all 2663

Trending Articles