We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7fa01c commit 9af1e76Copy full SHA for 9af1e76
modules/auxiliary/gather/ms14_052_xmldom.rb
@@ -4,10 +4,12 @@
4
##
5
6
require 'msf/core'
7
+require 'msf/core/exploit/jsobfu'
8
9
class Metasploit3 < Msf::Auxiliary
10
11
include Msf::Exploit::Remote::HttpServer::HTML
12
+ include Msf::Exploit::JSObfu
13
14
def initialize(info={})
15
super(update_info(info,
@@ -146,13 +148,14 @@ def js
146
148
end
147
149
150
def html
151
+ new_js = js_obfuscate(js)
152
%Q|
153
<html>
154
<head>
155
</head>
156
<body>
157
<script>
- #{js}
158
+ #{new_js}
159
</script>
160
</body>
161
</html>
0 commit comments