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
This commit is contained in:
bcoles
2012-03-16 12:40:13 +10:30
parent 5e2de7d378
commit e52779e72e
2 changed files with 2 additions and 2 deletions

View File

@@ -501,7 +501,7 @@ beef.browser = {
*/
javaEnabled: function() {
return (!!window.navigator.javaEnabled && !!window.navigator.javaEnabled());
return (!!window.navigator.javaEnabled());
},

View File

@@ -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"]