diff --git a/config.yaml b/config.yaml index d4d93e81b..64039f64f 100644 --- a/config.yaml +++ b/config.yaml @@ -18,7 +18,7 @@ beef: # Used by both the RESTful API and the Admin interface credentials: user: "beef" - passwd: "beef" + passwd: "beef1" # Interface / IP restrictions restrictions: diff --git a/modules/social_engineering/pretty_theft/command.js b/modules/social_engineering/pretty_theft/command.js index da5b9f3a1..cbd7a8255 100644 --- a/modules/social_engineering/pretty_theft/command.js +++ b/modules/social_engineering/pretty_theft/command.js @@ -93,9 +93,9 @@ beef.execute(function() { $j('#popup').remove(); $j('#darkenScreenObject').remove(); - }else if((uname1.length == 0 || pass1.length == 0) && valcheck == "true"){ + } else if((uname1.length == 0 || pass1.length == 0) && valcheck == "true") { // If user has not entered any data, reset button - document.body.lastChild.getElementById("buttonpress").value = "false"; + document.getElementById("buttonpress").value = "false"; alert("Please enter a valid username and password."); } }