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
unstable
James Lee 2010-12-16 20:18:06 +00:00
parent f1c13e24a6
commit 3d52c5c4c0
1 changed files with 4 additions and 1 deletions

View File

@ -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'