Payload sizes, specs and more
parent
4488a5e634
commit
e41ae93524
|
@ -11,7 +11,7 @@ require 'msf/base/sessions/meterpreter_options'
|
|||
|
||||
module Metasploit3
|
||||
|
||||
CachedSize = 24643
|
||||
CachedSize = 24947
|
||||
|
||||
include Msf::Payload::Single
|
||||
include Msf::Sessions::MeterpreterOptions
|
||||
|
|
|
@ -10,7 +10,7 @@ require 'msf/core/payload/linux/bind_tcp'
|
|||
|
||||
module Metasploit4
|
||||
|
||||
CachedSize = 110
|
||||
CachedSize = 146
|
||||
|
||||
include Msf::Payload::Stager
|
||||
include Msf::Payload::Linux::BindTcp
|
||||
|
|
|
@ -10,7 +10,7 @@ require 'msf/core/payload/linux/reverse_tcp'
|
|||
|
||||
module Metasploit4
|
||||
|
||||
CachedSize = 193
|
||||
CachedSize = 229
|
||||
|
||||
include Msf::Payload::Stager
|
||||
include Msf::Payload::Linux::ReverseTcp
|
||||
|
|
|
@ -10,7 +10,7 @@ require 'msf/core/payload/python/bind_tcp'
|
|||
require 'msf/base/sessions/command_shell'
|
||||
require 'msf/base/sessions/command_shell_options'
|
||||
|
||||
module Metasploit3
|
||||
module Metasploit4
|
||||
|
||||
CachedSize = 374
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@ require 'msf/core/payload/python/bind_tcp'
|
|||
require 'msf/base/sessions/command_shell'
|
||||
require 'msf/base/sessions/command_shell_options'
|
||||
|
||||
module Metasploit3
|
||||
module Metasploit4
|
||||
|
||||
CachedSize = 374
|
||||
CachedSize = 474
|
||||
|
||||
include Msf::Payload::Stager
|
||||
include Msf::Payload::Python
|
||||
|
|
|
@ -11,7 +11,7 @@ require 'msf/base/sessions/command_shell_options'
|
|||
|
||||
module Metasploit4
|
||||
|
||||
CachedSize = 342
|
||||
CachedSize = 442
|
||||
|
||||
include Msf::Payload::Stager
|
||||
include Msf::Payload::Python
|
||||
|
|
|
@ -1353,6 +1353,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'linux/x86/meterpreter/bind_tcp'
|
||||
end
|
||||
|
||||
context 'linux/x86/meterpreter/bind_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/linux/x86/bind_tcp_uuid',
|
||||
'stages/linux/x86/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'linux/x86/meterpreter/bind_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'linux/x86/meterpreter/find_tag' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -1397,6 +1408,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'linux/x86/meterpreter/reverse_tcp'
|
||||
end
|
||||
|
||||
context 'linux/x86/meterpreter/reverse_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/linux/x86/reverse_tcp_uuid',
|
||||
'stages/linux/x86/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'linux/x86/meterpreter/reverse_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'linux/x86/metsvc_bind_tcp' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -2084,6 +2106,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'python/meterpreter/bind_tcp'
|
||||
end
|
||||
|
||||
context 'python/meterpreter/bind_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/python/bind_tcp_uuid',
|
||||
'stages/python/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'python/meterpreter/bind_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'python/meterpreter/reverse_http' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -2117,6 +2150,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'python/meterpreter/reverse_tcp'
|
||||
end
|
||||
|
||||
context 'python/meterpreter/reverse_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/python/reverse_tcp_uuid',
|
||||
'stages/python/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'python/meterpreter/reverse_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'python/shell_reverse_tcp' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -2587,6 +2631,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'windows/meterpreter/bind_tcp_rc4'
|
||||
end
|
||||
|
||||
context 'windows/meterpreter/bind_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/windows/bind_tcp_uuid',
|
||||
'stages/windows/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'windows/meterpreter/bind_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'windows/meterpreter/find_tag' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -2741,6 +2796,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'windows/meterpreter/reverse_tcp_rc4_dns'
|
||||
end
|
||||
|
||||
context 'windows/meterpreter/reverse_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/windows/reverse_tcp_uuid',
|
||||
'stages/windows/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'windows/meterpreter/reverse_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'windows/metsvc_bind_tcp' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -3557,6 +3623,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'windows/x64/meterpreter/bind_tcp'
|
||||
end
|
||||
|
||||
context 'windows/x64/meterpreter/bind_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/windows/x64/bind_tcp_uuid',
|
||||
'stages/windows/x64/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'windows/x64/meterpreter/bind_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'windows/x64/meterpreter/reverse_http' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -3590,6 +3667,17 @@ describe 'modules/payloads', :content do
|
|||
reference_name: 'windows/x64/meterpreter/reverse_tcp'
|
||||
end
|
||||
|
||||
context 'windows/x64/meterpreter/reverse_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/windows/x64/reverse_tcp_uuid',
|
||||
'stages/windows/x64/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'windows/x64/meterpreter/reverse_tcp_uuid'
|
||||
end
|
||||
|
||||
context 'windows/x64/meterpreter/reverse_winhttp' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
|
Loading…
Reference in New Issue