Quantcast
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: <?php $passw='secretPassword12'; $ntext='helloWorld123456'; $enc = base64_encode(mcrypt_encrypt(MCRYPT_BLOWFISH, $passw, $ntext, MCRYPT_MODE_ECB)); echo '<div>'.$enc.'</div'; from Crypto.Cipher import Blowfish from base64 import b64encode, b64decode passw='secretPassword12' ntext='helloworld123456' cipher=Blowfish.new(passw, Blowfish.MODE_ECB) encStr=b64encode(cipher.encrypt(data)) print encStr Remember to pad your data such that the len is divisible by 16. Source: http://pastebin.com/raw.php?i=X9hmPkBd

Viewing all articles
Browse latest Browse all 2663

Trending Articles