Skip to content
Browse files

added java as platform to avoid confussion between target and payload

  • Loading branch information...
1 parent e3e5663 commit f99982a85e57a2cc735efb8ac5e55e6228b074c2 jvazquez-r7 committed Aug 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 modules/exploits/multi/browser/java_jre17_exec.rb
View
2 modules/exploits/multi/browser/java_jre17_exec.rb
@@ -58,6 +58,7 @@ def initialize( info = {} )
[ 'Generic (Java Payload)',
{
'Arch' => ARCH_JAVA,
+ 'Platform' => 'java'
}
],
[ 'Windows Universal',
@@ -80,6 +81,7 @@ def initialize( info = {} )
def on_request_uri( cli, request )
+
if not request.uri.match(/\.jar$/i)
if not request.uri.match(/\/$/)
send_redirect(cli, get_resource() + '/', '')

0 comments on commit f99982a

Please sign in to comment.
Something went wrong with that request. Please try again.