Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: socket); socket.write("Too short."); socket.end(); stdin | cipher | socket (loopback) | decipher | stdout socket (loopback) | decipher | stdout var net = require("net") , crypto = require("crypto"); var credentials = { algorithm: "aes192", password: "password" } , decipher = crypto.createDecipher(credentials.algorithm, credentials.password) , cipher = crypto.createCipher(credentials.algorithm, credentials.password); decipher.setAutoPadding(false); //set to […]
↧