From 88f626184c3a56252b03709eff7a07aeba0b54ce Mon Sep 17 00:00:00 2001 From: Joe Vennix Date: Sun, 24 Aug 2014 01:39:04 -0500 Subject: [PATCH] Remove linux platform limitation, target depends on arch only. --- modules/exploits/multi/gdb/gdb_server_exec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/exploits/multi/gdb/gdb_server_exec.rb b/modules/exploits/multi/gdb/gdb_server_exec.rb index f89971f40f..bf575a67bd 100644 --- a/modules/exploits/multi/gdb/gdb_server_exec.rb +++ b/modules/exploits/multi/gdb/gdb_server_exec.rb @@ -18,9 +18,10 @@ class Metasploit3 < Msf::Exploit::Remote }, 'Author' => [ 'joev' ], 'Targets' => [ - [ 'Linux x64', { 'Arch' => ARCH_X64, 'Platform' => 'linux' } ], - [ 'Linux x86', { 'Arch' => ARCH_X86, 'Platform' => 'linux' } ] + [ 'x86 (32-bit)', { 'Arch' => ARCH_X86 } ], + [ 'x64 (64-bit)', { 'Arch' => ARCH_X64 } ] ], + 'Platform' => %w(linux unix osx windows), 'DefaultTarget' => 0 )) end