Skip to content

Commit 56eb828

Browse files
committed
add e500v2 payloads
1 parent 22f9626 commit 56eb828

Some content is hidden

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

43 files changed

+249
-50
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ GEM
252252
recog (2.1.16)
253253
nokogiri
254254
redcarpet (3.4.0)
255-
rex-arch (0.1.11)
255+
rex-arch (0.1.13)
256256
rex-text
257257
rex-bin_tools (0.1.4)
258258
metasm
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# -*- coding: binary -*-
2+
3+
require 'msf/base/sessions/meterpreter'
4+
5+
module Msf
6+
module Sessions
7+
8+
###
9+
#
10+
# This class creates a platform-specific meterpreter session type
11+
#
12+
###
13+
class Meterpreter_ppce500v2_Linux < Msf::Sessions::Meterpreter
14+
def supports_ssl?
15+
false
16+
end
17+
def supports_zlib?
18+
false
19+
end
20+
def initialize(rstream, opts={})
21+
super
22+
self.base_platform = 'linux'
23+
self.base_arch = ARCH_PPCE500V2
24+
end
25+
end
26+
27+
end
28+
end
29+

lib/msf/core/payload/uuid.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ class Msf::Payload::UUID
4343
24 => ARCH_AARCH64,
4444
25 => ARCH_MIPS64,
4545
26 => ARCH_PPC64LE,
46-
27 => ARCH_R
46+
27 => ARCH_R,
47+
28 => ARCH_PPCE500V2
4748
}
4849

4950
Platforms = {

modules/payloads/singles/linux/aarch64/meterpreter_reverse_http.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def initialize(info = {})
2424
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2525
'Author' => [
2626
'Adam Cammack <adam_cammack[at]rapid7.com>',
27-
'Brent Cook <brent_cook[at]rapid7.com>'
27+
'Brent Cook <brent_cook[at]rapid7.com>',
28+
'timwr'
2829
],
2930
'Platform' => 'linux',
3031
'Arch' => ARCH_AARCH64,

modules/payloads/singles/linux/aarch64/meterpreter_reverse_https.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def initialize(info = {})
2424
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2525
'Author' => [
2626
'Adam Cammack <adam_cammack[at]rapid7.com>',
27-
'Brent Cook <brent_cook[at]rapid7.com>'
27+
'Brent Cook <brent_cook[at]rapid7.com>',
28+
'timwr'
2829
],
2930
'Platform' => 'linux',
3031
'Arch' => ARCH_AARCH64,

modules/payloads/singles/linux/aarch64/meterpreter_reverse_tcp.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def initialize(info = {})
2424
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2525
'Author' => [
2626
'Adam Cammack <adam_cammack[at]rapid7.com>',
27-
'Brent Cook <brent_cook[at]rapid7.com>'
27+
'Brent Cook <brent_cook[at]rapid7.com>',
28+
'timwr'
2829
],
2930
'Platform' => 'linux',
3031
'Arch' => ARCH_AARCH64,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def initialize(info = {})
2424
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2525
'Author' => [
2626
'Adam Cammack <adam_cammack[at]rapid7.com>',
27-
'Brent Cook <brent_cook[at]rapid7.com>'
27+
'Brent Cook <brent_cook[at]rapid7.com>',
28+
'timwr'
2829
],
2930
'Platform' => 'linux',
3031
'Arch' => ARCH_ARMBE,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def initialize(info = {})
2424
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2525
'Author' => [
2626
'Adam Cammack <adam_cammack[at]rapid7.com>',
27-
'Brent Cook <brent_cook[at]rapid7.com>'
27+
'Brent Cook <brent_cook[at]rapid7.com>',
28+
'timwr'
2829
],
2930
'Platform' => 'linux',
3031
'Arch' => ARCH_ARMBE,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def initialize(info = {})
2424
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2525
'Author' => [
2626
'Adam Cammack <adam_cammack[at]rapid7.com>',
27-
'Brent Cook <brent_cook[at]rapid7.com>'
27+
'Brent Cook <brent_cook[at]rapid7.com>',
28+
'timwr'
2829
],
2930
'Platform' => 'linux',
3031
'Arch' => ARCH_ARMBE,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def initialize(info = {})
2424
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2525
'Author' => [
2626
'Adam Cammack <adam_cammack[at]rapid7.com>',
27-
'Brent Cook <brent_cook[at]rapid7.com>'
27+
'Brent Cook <brent_cook[at]rapid7.com>',
28+
'timwr'
2829
],
2930
'Platform' => 'linux',
3031
'Arch' => ARCH_ARMLE,

0 commit comments

Comments
 (0)