From 753447c7f772979e3f96ea388fbb971f2fcf5663 Mon Sep 17 00:00:00 2001 From: dledda-r7 Date: Thu, 19 Dec 2024 12:13:55 -0500 Subject: [PATCH] fix: updating ppc/shell to use the new mixin structure --- modules/payloads/singles/linux/ppc/shell_bind_tcp.rb | 2 +- modules/payloads/singles/linux/ppc/shell_find_port.rb | 2 +- modules/payloads/singles/linux/ppc/shell_reverse_tcp.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/payloads/singles/linux/ppc/shell_bind_tcp.rb b/modules/payloads/singles/linux/ppc/shell_bind_tcp.rb index d40e531e5486..6935f809ee44 100644 --- a/modules/payloads/singles/linux/ppc/shell_bind_tcp.rb +++ b/modules/payloads/singles/linux/ppc/shell_bind_tcp.rb @@ -9,7 +9,7 @@ module MetasploitModule CachedSize = 223 include Msf::Payload::Single - include Msf::Payload::Linux + include Msf::Payload::Linux::Ppc::Prepends include Msf::Sessions::CommandShellOptions def initialize(info = {}) diff --git a/modules/payloads/singles/linux/ppc/shell_find_port.rb b/modules/payloads/singles/linux/ppc/shell_find_port.rb index 5246b984bb7c..5f9a1e4900e3 100644 --- a/modules/payloads/singles/linux/ppc/shell_find_port.rb +++ b/modules/payloads/singles/linux/ppc/shell_find_port.rb @@ -9,7 +9,7 @@ module MetasploitModule CachedSize = 171 include Msf::Payload::Single - include Msf::Payload::Linux + include Msf::Payload::Linux::Ppc::Prepends include Msf::Sessions::CommandShellOptions def initialize(info = {}) diff --git a/modules/payloads/singles/linux/ppc/shell_reverse_tcp.rb b/modules/payloads/singles/linux/ppc/shell_reverse_tcp.rb index 42777fbcb06e..38b79f0110ac 100644 --- a/modules/payloads/singles/linux/ppc/shell_reverse_tcp.rb +++ b/modules/payloads/singles/linux/ppc/shell_reverse_tcp.rb @@ -9,7 +9,7 @@ module MetasploitModule CachedSize = 183 include Msf::Payload::Single - include Msf::Payload::Linux + include Msf::Payload::Linux::Ppc::Prepends include Msf::Sessions::CommandShellOptions def initialize(info = {})