From 4852f1b9f7c49512bc4fa253c9e5bcc69b23acbd Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Mon, 11 Mar 2013 18:35:44 +0100 Subject: [PATCH] modify exploits to be compatible with the new netcat payloads --- modules/exploits/linux/http/ddwrt_cgibin_exec.rb | 2 +- modules/exploits/linux/http/wanem_exec.rb | 2 +- modules/exploits/linux/http/zen_load_balancer_exec.rb | 2 +- modules/exploits/unix/http/ctek_skyrouter.rb | 2 +- modules/exploits/unix/webapp/generic_exec.rb | 2 +- modules/exploits/unix/webapp/google_proxystylesheet_exec.rb | 2 +- modules/exploits/unix/webapp/hastymail_exec.rb | 2 +- modules/exploits/unix/webapp/narcissus_backend_exec.rb | 2 +- modules/exploits/unix/webapp/php_charts_exec.rb | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/exploits/linux/http/ddwrt_cgibin_exec.rb b/modules/exploits/linux/http/ddwrt_cgibin_exec.rb index 1e2ff45fc4..94eb9b8583 100644 --- a/modules/exploits/linux/http/ddwrt_cgibin_exec.rb +++ b/modules/exploits/linux/http/ddwrt_cgibin_exec.rb @@ -41,7 +41,7 @@ class Metasploit3 < Msf::Exploit::Remote 'DisableNops' => true, 'Compat' => { - 'RequiredCmd' => 'generic netcat-e' + 'RequiredCmd' => 'generic netcat netcat-e' } }, 'Targets' => diff --git a/modules/exploits/linux/http/wanem_exec.rb b/modules/exploits/linux/http/wanem_exec.rb index 58ebc8411e..0ea8330213 100644 --- a/modules/exploits/linux/http/wanem_exec.rb +++ b/modules/exploits/linux/http/wanem_exec.rb @@ -46,7 +46,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic netcat-e', + 'RequiredCmd' => 'generic netcat netcat-e', } }, 'DefaultOptions' => diff --git a/modules/exploits/linux/http/zen_load_balancer_exec.rb b/modules/exploits/linux/http/zen_load_balancer_exec.rb index 118ddfc133..7aeb2ba31e 100644 --- a/modules/exploits/linux/http/zen_load_balancer_exec.rb +++ b/modules/exploits/linux/http/zen_load_balancer_exec.rb @@ -46,7 +46,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic netcat-e perl bash', + 'RequiredCmd' => 'generic netcat netcat-e perl bash', } }, 'Targets' => diff --git a/modules/exploits/unix/http/ctek_skyrouter.rb b/modules/exploits/unix/http/ctek_skyrouter.rb index a428bc79ca..19c281b8ed 100644 --- a/modules/exploits/unix/http/ctek_skyrouter.rb +++ b/modules/exploits/unix/http/ctek_skyrouter.rb @@ -30,7 +30,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic perl telnet netcat-e bash', + 'RequiredCmd' => 'generic perl telnet netcat netcat-e bash', } }, 'Platform' => 'unix', diff --git a/modules/exploits/unix/webapp/generic_exec.rb b/modules/exploits/unix/webapp/generic_exec.rb index 64f44cdeb1..0d2ccfb0ce 100644 --- a/modules/exploits/unix/webapp/generic_exec.rb +++ b/modules/exploits/unix/webapp/generic_exec.rb @@ -33,7 +33,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic perl telnet netcat-e bash', + 'RequiredCmd' => 'generic perl telnet netcat netcat-e bash', } }, 'Platform' => 'unix', diff --git a/modules/exploits/unix/webapp/google_proxystylesheet_exec.rb b/modules/exploits/unix/webapp/google_proxystylesheet_exec.rb index 1611b9ff2a..dbd299369e 100644 --- a/modules/exploits/unix/webapp/google_proxystylesheet_exec.rb +++ b/modules/exploits/unix/webapp/google_proxystylesheet_exec.rb @@ -40,7 +40,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic perl bash telnet netcat-e', + 'RequiredCmd' => 'generic perl bash telnet netcat netcat-e', } }, 'Platform' => 'unix', diff --git a/modules/exploits/unix/webapp/hastymail_exec.rb b/modules/exploits/unix/webapp/hastymail_exec.rb index d7f9e6fdb7..642a4f35ce 100644 --- a/modules/exploits/unix/webapp/hastymail_exec.rb +++ b/modules/exploits/unix/webapp/hastymail_exec.rb @@ -40,7 +40,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic perl ruby python netcat-e', + 'RequiredCmd' => 'generic perl ruby python netcat netcat-e', } }, 'Platform' => ['unix'], diff --git a/modules/exploits/unix/webapp/narcissus_backend_exec.rb b/modules/exploits/unix/webapp/narcissus_backend_exec.rb index b464bfafc5..84a96277d1 100644 --- a/modules/exploits/unix/webapp/narcissus_backend_exec.rb +++ b/modules/exploits/unix/webapp/narcissus_backend_exec.rb @@ -44,7 +44,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic perl ruby python bash netcat-e' + 'RequiredCmd' => 'generic perl ruby python bash netcat netcat-e' }, 'Targets' => [ diff --git a/modules/exploits/unix/webapp/php_charts_exec.rb b/modules/exploits/unix/webapp/php_charts_exec.rb index 50159d7bc5..12ba92c169 100644 --- a/modules/exploits/unix/webapp/php_charts_exec.rb +++ b/modules/exploits/unix/webapp/php_charts_exec.rb @@ -39,7 +39,7 @@ class Metasploit3 < Msf::Exploit::Remote 'Compat' => { 'PayloadType' => 'cmd', - 'RequiredCmd' => 'generic telnet bash netcat-e perl ruby python', + 'RequiredCmd' => 'generic telnet bash netcat netcat-e perl ruby python', } }, 'DefaultOptions' =>