Skip to content

Commit

Permalink
fix: remove x64 directory flatting in Linux payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
dledda-r7 committed Dec 20, 2024
1 parent 753447c commit 4d304c6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Msf
#
###

module Payload::Linux::ReverseSctp_x64
module Payload::Linux::X64::ReverseSctp

include Msf::Payload::TransportConfig
include Msf::Payload::Linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Msf
#
###

module Payload::Linux::ReverseTcp_x64
module Payload::Linux::X64::ReverseTcp

include Msf::Payload::TransportConfig
include Msf::Payload::Linux
Expand Down
2 changes: 1 addition & 1 deletion lib/msf_autoload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def collapse_list
"#{__dir__}/msf/core/rpc/v10",
"#{__dir__}/msf/core/payload/osx/x64",
"#{__dir__}/msf/core/payload/windows/x64",
"#{__dir__}/msf/core/payload/linux/x64",
# "#{__dir__}/msf/core/payload/linux/x64",
"#{__dir__}/msf/core/web_services/servlet",
"#{__dir__}/msf/base",
"#{__dir__}/rex/parser/fs"
Expand Down
2 changes: 1 addition & 1 deletion modules/payloads/stagers/linux/x64/reverse_sctp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module MetasploitModule
CachedSize = 136

include Msf::Payload::Stager
include Msf::Payload::Linux::ReverseSctp_x64
include Msf::Payload::Linux::X64::ReverseSctp

def initialize(info = {})
super(
Expand Down
2 changes: 1 addition & 1 deletion modules/payloads/stagers/linux/x64/reverse_tcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module MetasploitModule
CachedSize = 130

include Msf::Payload::Stager
include Msf::Payload::Linux::ReverseTcp_x64
include Msf::Payload::Linux::X64::ReverseTcp

def initialize(info = {})
super(merge_info(info,
Expand Down

0 comments on commit 4d304c6

Please sign in to comment.