diff --git a/lib/msf/core/exploit/remote/browser_exploit_server.rb b/lib/msf/core/exploit/remote/browser_exploit_server.rb index 1edcb084f3..6d9c3a33ea 100644 --- a/lib/msf/core/exploit/remote/browser_exploit_server.rb +++ b/lib/msf/core/exploit/remote/browser_exploit_server.rb @@ -358,14 +358,6 @@ module Msf <%= js_misc_addons_detect %> <%= js_ie_addons_detect if os == OperatingSystems::WINDOWS and client == HttpClients::IE %> - function objToQuery(obj) { - var q = []; - for (var key in obj) { - q.push(encodeURIComponent(key) + '=' + encodeURIComponent(obj[key])); - } - return Base64.encode(q.join('&')); - } - window.onload = function() { var osInfo = window.os_detect.getVersion(); var d = {