From fc1635e80ad4d7bbf28be7dbec33e2bd02e97a37 Mon Sep 17 00:00:00 2001 From: Joe Vennix Date: Mon, 17 Nov 2014 10:06:15 -0600 Subject: [PATCH] Fix BAP JS ref error. --- modules/auxiliary/server/browser_autopwn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/server/browser_autopwn.rb b/modules/auxiliary/server/browser_autopwn.rb index 7a4d3c4144..8f19a9a0c2 100644 --- a/modules/auxiliary/server/browser_autopwn.rb +++ b/modules/auxiliary/server/browser_autopwn.rb @@ -225,7 +225,7 @@ class Metasploit3 < Msf::Auxiliary } function bodyOnLoad() { - var detected_version = window.os_detect.getVersion(); + var detected_version = os_detect.getVersion(); //#{js_debug('detected_version')} report_and_get_exploits(detected_version); } // function bodyOnLoad