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\-_\!\$]+["']‘: ort java.util.logging.Logger; public class Prepared { public static void main(String[] args) { Connection con = null; PreparedStatement pst = null; String url = "jdbc.mysql://localhost:3306/testdb"; String user = "root"; String password = "klikklik"; try { String author = "Trygve Gulbranssen"; con = DriverManager.getConnection(url,user,password); pst = con.prepareStatement("INSERT INTO Authors(Name) VALUES(?)"); pst.setString(1, author); […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles