From 3d52c5c4c0e1f8a36278e6412e834fc5a4fae82f Mon Sep 17 00:00:00 2001 From: James Lee Date: Thu, 16 Dec 2010 20:18:06 +0000 Subject: [PATCH] add target info for generic so reloading gets correct compatible payloads git-svn-id: file:///home/svn/framework3/trunk@11354 4d416f70-5f16-0410-b530-b9f4589650da --- test/modules/exploits/test/java_tester.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/modules/exploits/test/java_tester.rb b/test/modules/exploits/test/java_tester.rb index 9afa050762..c304a19da2 100644 --- a/test/modules/exploits/test/java_tester.rb +++ b/test/modules/exploits/test/java_tester.rb @@ -28,7 +28,10 @@ class Metasploit3 < Msf::Exploit::Remote 'Payload' => { 'Space' => 20480, 'BadChars' => '', 'DisableNops' => true }, 'Targets' => [ - [ 'Generic (Java Payload)', { } ], + [ 'Generic (Java Payload)', { + 'Arch' => ARCH_JAVA, + 'Platform' => 'java' + } ], [ 'Linux', { 'Arch' => ARCH_X86, 'Platform' => 'linux'