Quantcast
Channel: pastebin.com – LeakedIn
Viewing all articles
Browse latest Browse all 2834

Potential leak of data: Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ode("utf-8") print("Hashing Password") newHash = hashlib.sha1() newHash.update(userPassword + PreSalt) hashedPassword = str(newHash.hexdigest()) print ("This is the hashed Password = '" + str(newHash.hexdigest()) + "'") preHashedPassword = "3b0acbcffbcaf692b83d218077e279bb41c921b8" print ("This is the Pre hashed Password = '" + str(preHashedPassword) + "'\nChecking the password with the one stored.") if (preHashedPassword == hashedPassword): […]

Viewing all articles
Browse latest Browse all 2834

Trending Articles