Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: select username,user_type from myTable where username='john' AND password='abc'; string user_type, string userName; //Execute data reader if(myReader.Read()) { userName= myReader[0].ToString(); // you can also make a class userType=myReader[1].ToString(); // you can also store these values in Session } // Close connectio Source: http://pastebin.com/raw.php?i=PYqhXhZw

Viewing all articles
Browse latest Browse all 2663

Trending Articles