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\-_\!\$]+["']‘: import java.sql.*; public class Java2MySql{ public static void main(String[] args) { String url = "jdbc:mysql://localhost:3306/"; String dbName = "myBlog"; String driver = "com.mysql.jdbc.Driver"; String userName = "root"; String password = "NoWay!"; Connection conn = null; try { Class.forName(driver); }catch (ClassNotFoundException e) { System.out.println("Where is your MySQL JDBC Driver?"); } System.out.println("MySQL […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles