Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 3 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: postgres"; String username = "postgres"; String password = "dbpassword"; // Class.forName("org.postgresql.Driver"); // String jdbcUrl = "jdbc:postgresql:ALUMNI"; // String username = "postgres"; // String password = "hendrix2112"; return (DriverManager.getConnection(jdbcUrl, username, password)); } */ public static UserInfo getUserInfo(String username, String password) { try { Connection connection = getConnecti Source: http://pastebin.com/raw.php?i=m7CwshM6

Viewing all articles
Browse latest Browse all 2663

Trending Articles