Quantcast
Viewing all articles
Browse latest Browse all 2663

Simple Password

Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': """ connects to production database """ import pymysql class Table: def __init__(self): self.connection = pymysql.connect(host='127.0.0.1', user='lyrics', passwd='snkzXr5hm6MF', db='gifs', unix_socket="/var/lib/mysql/mysql.sock") self.cur = self.connection.cursor() """ deprecated """ def fetchone(self): try: return dict(zip(self.fields, self.cur.fetchone())) except: Source: http://pastebin.com/raw.php?i=r1djnvS4

Viewing all articles
Browse latest Browse all 2663

Trending Articles