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 MIMEMultipart from email.MIMEText import MIMEText from email.MIMEImage import MIMEImage msg = MIMEMultipart('multipart/related') fromaddr = 'from@gmail.com' toaddrs = 'to@gmail.com' #provide gmail user name and password username = 'to@gmail.com' password = 'messifan' filename = "1.jpg" f = file(filename) attachment = MIMEImage(f.read()) # error here attachment.add_header('Content-Disposition', 'attachment', filename=filename) . . server.sendmail(fromaddr, toaddrs, […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles