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 sys import psycopg2 con = None try: con = psycopg2.connect(database="testdb", user="test", password="abcd") cur = con.cursor() cur.execute("SELECT exists(SELECT * from information_schema.testdb)") ver = cur.fetchone()[0] print ver except psycopg2.DatabaseError, e: print "Error %s" %e sys.exit(1) finally: if con: con.close() Source: http://pastebin.com/raw.php?i=AaGFeR1C

Viewing all articles
Browse latest Browse all 2663

Trending Articles