Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: again System.out.println("Password:t" + password); // Show typed password import java.util.Scanner; public class MultipleStringInput { public static void main(String[] args) { String username = "administrator", iusername = "", password = "password", ipassword = ""; System.out.println("Please login to the system"); System.out.print("nusername:t"); Scanner scan = new Scanner(System.in); iusername = scan.nextLine(); System.out.print("npassword:t"); ipassw Source: [...]

Viewing all articles
Browse latest Browse all 2663

Trending Articles