Quantcast
Channel: LeakedIn
Viewing all articles
Browse latest Browse all 5503

Potential leak of data: Python Database Connection

$
0
0
Detected 1 occurrence(s) of ‘(mdb|pyodbc)\.connect\(‘: import pyodbc cnxn = pyodbc.connect('DRIVER={SQL Server};SERVER=marketing-sql01.onlive.corp;DATABASE=grok;UID=austin.trombley;PWD=XXXX') cursor = cnxn.cursor() cursor.execute("select * from user") rows = cursor.fetchall() for row in rows: print row.user_id, row.user_name Source: http://pastebin.com/raw.php?i=h8z6rXGE

Viewing all articles
Browse latest Browse all 5503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>