Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ort MySQLdb # connect db = MySQLdb.connect(host="localhost", user="root", passwd="xxxxxxx", db="world") cursor = db.cursor() val=xrange(1,1000,2) for x in val: print x import MySQLdb # connect db = MySQLdb.connect(host="localhost", user="root", passwd="xxxxxxx", db="world") cursor = db.cursor() for x in xrange(1,1000,2): cursor.execute('INSERT INTO table (mynumber) VALUES(' + str(x) + ');') Source: http://pastebin.com/raw.php?i=sjWdz4mf
↧