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\-_\!\$]+["']‘: { public static Connection getConnection() throws ClassNotFoundException, SQLException { String driver = "org.postgresql.Driver"; String url = "jdbc:postgresql://127.0.0.1:3306/test"; String user = "root"; String password = "password"; Class.forName(driver); Connection conn = DriverManager.getConnection( url, user, password); try { PreparedStatement ps = conn.prepareStatement("INSERT INTO myTable(tika) VALUES (?)"); int myInt = 258; Source: http://pastebin.com/raw.php?i=eCETMdTW

Viewing all articles
Browse latest Browse all 2663

Trending Articles