Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: var http=require('http');var mysql=require('mysql');var connection=mysql.createConnection({host:'101.129.108.171',port:3306,database:'mb',user:'user',password:'pass'});http.createServer(function(req,res){res.writeHeader(200);res.write('Connect to mySql\n');connection.connect(function(err){if(err!=null){res.end('Error connecting to mysql:'+ err+'\n');}});connection.query("SELECT * from mb.g WHERE ref = '806787088'",fun Source: http://pastie.org/pastes/9376664/download
↧