Skip to content

Commit

Permalink
add 64-bit, osx support
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Cook committed Aug 22, 2017
1 parent e01caac commit 7263c7a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions modules/exploits/multi/misc/java_jdwp_debugger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def initialize
['URL', 'https://svn.nmap.org/nmap/scripts/jdwp-exec.nse'],
['URL', 'http://blog.ioactive.com/2014/04/hacking-java-debug-wire-protocol-or-how.html']
],
'Platform' => %w{ linux win },
'Arch' => ARCH_X86,
'Platform' => %w{ linux win osx },
'Arch' => [ARCH_X86, ARCH_X64],
'Payload' =>
{
'Space' => 2048,
Expand All @@ -101,12 +101,17 @@ def initialize
},
'Targets' =>
[
[ 'Linux x86 (Native Payload)',
[ 'Linux (Native Payload)',
{
'Platform' => 'linux'
}
],
[ 'Windows x86 (Native Payload)',
[ 'macOS (Native Payload)',
{
'Platform' => 'osx'
}
],
[ 'Windows (Native Payload)',
{
'Platform' => 'win'
}
Expand Down

0 comments on commit 7263c7a

Please sign in to comment.