From 41d721a8616bbf5130ff436566ac4661c566d09e Mon Sep 17 00:00:00 2001 From: Spencer McIntyre Date: Fri, 9 May 2014 11:24:29 -0400 Subject: [PATCH] Update two modules to use the new unified cmdstager --- modules/exploits/linux/http/fritzbox_echo_exec.rb | 5 +++-- modules/exploits/linux/http/linksys_themoon_exec.rb | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/exploits/linux/http/fritzbox_echo_exec.rb b/modules/exploits/linux/http/fritzbox_echo_exec.rb index 6990a9491a..17f8969a4f 100644 --- a/modules/exploits/linux/http/fritzbox_echo_exec.rb +++ b/modules/exploits/linux/http/fritzbox_echo_exec.rb @@ -9,7 +9,7 @@ class Metasploit3 < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::HttpClient - include Msf::Exploit::CmdStagerEcho + include Msf::Exploit::CmdStager def initialize(info = {}) super(update_info(info, @@ -59,7 +59,8 @@ class Metasploit3 < Msf::Exploit::Remote } ], ], - 'DefaultTarget' => 0 + 'CmdStagerFlavor' => 'echo', + 'DefaultTarget' => 0 )) end diff --git a/modules/exploits/linux/http/linksys_themoon_exec.rb b/modules/exploits/linux/http/linksys_themoon_exec.rb index 0e7f7bd091..450bdd947e 100644 --- a/modules/exploits/linux/http/linksys_themoon_exec.rb +++ b/modules/exploits/linux/http/linksys_themoon_exec.rb @@ -9,7 +9,7 @@ class Metasploit3 < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::HttpClient - include Msf::Exploit::CmdStagerEcho + include Msf::Exploit::CmdStager def initialize(info = {}) super(update_info(info, @@ -62,7 +62,8 @@ class Metasploit3 < Msf::Exploit::Remote } ], ], - 'DefaultTarget' => 0 + 'CmdStagerFlavor' => 'echo', + 'DefaultTarget' => 0 )) end