From e52779e72ea5c1eaa7e9bb60fd11350a4aa3cc26 Mon Sep 17 00:00:00 2001 From: bcoles Date: Fri, 16 Mar 2012 12:40:13 +1030 Subject: [PATCH] Fixed javaEnabled() in BeEF hook - It was breaking the hook in IE6 Also fixed a couple of typos in the Local File Theft module description --- core/main/client/browser.js | 2 +- modules/misc/local_file_theft/config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/main/client/browser.js b/core/main/client/browser.js index 547ee4a55..81caa135a 100644 --- a/core/main/client/browser.js +++ b/core/main/client/browser.js @@ -501,7 +501,7 @@ beef.browser = { */ javaEnabled: function() { - return (!!window.navigator.javaEnabled && !!window.navigator.javaEnabled()); + return (!!window.navigator.javaEnabled()); }, diff --git a/modules/misc/local_file_theft/config.yaml b/modules/misc/local_file_theft/config.yaml index 733714720..20d7a52a4 100644 --- a/modules/misc/local_file_theft/config.yaml +++ b/modules/misc/local_file_theft/config.yaml @@ -8,7 +8,7 @@ beef: enable: true category: "Misc" name: "Local File Theft" - description: "Javascript may have filesystem access if we are running from a local resource and using the file:// scheme, this module checks common locations and cheekily snaches anything it finds. Shameless plagurised from kos.io/xsspwn. To test this module save the beefhook page locally and open in safari from the your localfile system" + description: "Javascript may have filesystem access if we are running from a local resource and using the file:// scheme. This module checks common locations and cheekily snaches anything it finds. Shamelessly plagurised from http://kos.io/xsspwn. To test this module save the BeEF hook page locally and open in safari from the your localfile system." authors: ["mh"] target: working: ["All"]