Skip to content

Commit 4565a04

Browse files
committed
fix(payloads): updating prepend mixin in payloads
1 parent edf4fca commit 4565a04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+43
-54
lines changed

lib/msf/core/payload/linux/bind_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module Msf
1313
module Payload::Linux::BindTcp
1414

1515
include Msf::Payload::TransportConfig
16-
include Msf::Payload::Linux
16+
include Msf::Payload::Linux::X86::Prepends
1717
include Msf::Payload::Linux::SendUUID
1818

1919
#

lib/msf/core/payload/linux/reverse_tcp_x86.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Msf
1212
module Payload::Linux::ReverseTcp_x86
1313

1414
include Msf::Payload::TransportConfig
15-
include Msf::Payload::Linux
15+
include Msf::Payload::Linux::X86::Prepends
1616
include Msf::Payload::Linux::SendUUID
1717

1818
#

lib/msf/core/payload/linux/x64/reverse_sctp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Msf
1212
module Payload::Linux::X64::ReverseSctp
1313

1414
include Msf::Payload::TransportConfig
15-
include Msf::Payload::Linux
15+
include Msf::Payload::Linux::X64::Prepends
1616

1717
#
1818
# Generate the first stage

lib/msf/core/payload/linux/x64/reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Msf
1212
module Payload::Linux::X64::ReverseTcp
1313

1414
include Msf::Payload::TransportConfig
15-
include Msf::Payload::Linux
15+
include Msf::Payload::Linux::X64::Prepends
1616

1717
#
1818
# Generate the first stage

modules/payloads/singles/apple_ios/aarch64/shell_reverse_tcp.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ module MetasploitModule
99
CachedSize = 152
1010

1111
include Msf::Payload::Single
12-
include Msf::Payload::Linux
1312
include Msf::Sessions::CommandShellOptions
1413

1514
def initialize(info = {})

modules/payloads/singles/linux/armbe/shell_bind_tcp.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ module MetasploitModule
99
CachedSize = 118
1010

1111
include Msf::Payload::Single
12-
include Msf::Payload::Linux
1312
include Msf::Sessions::CommandShellOptions
1413

1514
def initialize(info = {})

modules/payloads/singles/linux/armle/adduser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module MetasploitModule
1616
CachedSize = 119
1717

1818
include Msf::Payload::Single
19-
include Msf::Payload::Linux
19+
include Msf::Payload::Linux::Armle::Prepends
2020

2121
def initialize(info = {})
2222
super(merge_info(info,

modules/payloads/singles/linux/armle/exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module MetasploitModule
1616
CachedSize = 29
1717

1818
include Msf::Payload::Single
19-
include Msf::Payload::Linux
19+
include Msf::Payload::Linux::Armle::Prepends
2020

2121
def initialize(info = {})
2222
super(merge_info(info,

modules/payloads/singles/linux/armle/shell_bind_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module MetasploitModule
99
CachedSize = 208
1010

1111
include Msf::Payload::Single
12-
include Msf::Payload::Linux
12+
include Msf::Payload::Linux::Armle::Prepends
1313
include Msf::Sessions::CommandShellOptions
1414

1515
def initialize(info = {})

modules/payloads/singles/linux/armle/shell_reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module MetasploitModule
99
CachedSize = 172
1010

1111
include Msf::Payload::Single
12-
include Msf::Payload::Linux
12+
include Msf::Payload::Linux::Armle::Prepends
1313
include Msf::Sessions::CommandShellOptions
1414

1515
def initialize(info = {})

0 commit comments

Comments
 (0)