Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
##

module MetasploitModule
CachedSize = 1140752

include Msf::Payload::Single
include Msf::Sessions::MeterpreterOptions::Linux
include Msf::Sessions::MettleConfig
Expand Down
4 changes: 4 additions & 0 deletions tools/modules/update_payload_cached_sizes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def error(s)

next if mod_inst.is_a?(Msf::Payload::Adapter)

# Multi-arch payloads such as linux/multi/meterpreter_reverse_tcp don't have a single specific cache size due to their support
# for multiple architectures, so we should likely skip them
next if mod_inst.is_a?(Msf::Payload::Linux::MultiArch)

mod_dependencies = mod_inst.dependencies
missing_dependencies = mod_dependencies.reject(&:available?)
if missing_dependencies.any?
Expand Down
Loading