Obfuscate js

bug/bundler_fix
sinn3r 2015-03-30 10:52:01 -05:00
parent c7fa01c5ae
commit 9af1e76bf7
1 changed files with 4 additions and 1 deletions

View File

@ -4,10 +4,12 @@
##
require 'msf/core'
require 'msf/core/exploit/jsobfu'
class Metasploit3 < Msf::Auxiliary
include Msf::Exploit::Remote::HttpServer::HTML
include Msf::Exploit::JSObfu
def initialize(info={})
super(update_info(info,
@ -146,13 +148,14 @@ class Metasploit3 < Msf::Auxiliary
end
def html
new_js = js_obfuscate(js)
%Q|
<html>
<head>
</head>
<body>
<script>
#{js}
#{new_js}
</script>
</body>
</html>