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\-_\!\$]+["']‘: rt fcntl, sys pid_file = '/var/tmp/program.pid' fp = open(pid_file, 'w') try: fcntl.lockf(fp, fcntl.LOCK_EX | fcntl.LOCK_NB) except IOError: # another instance is running sys.exit(0) # Read config file server="http://blabla" username="stackoverflow" password="freak" language="EN" # Disconnect get_disconnect="/a/disconnectusername?username=%s&password=%s&language=%s" % (username,password,language) disconnect_url="%s%s" % (server,get_disconnect) # Do multi-thread without blocking the main front-end def task1(): Source: […]

Viewing all articles
Browse latest Browse all 2663

Trending Articles