Skip to content

Commit 4374484

Browse files
authored
Land rapid7#19850, Add fetch payloads for aarch64, armbe, armle, mipsbe, mipsle, ppc, ppc64, ppc64le
Land rapid7#19850, Add fetch payloads for aarch64, armbe, armle, mipsbe, mipsle, ppc, ppc64, ppc64le
2 parents d626e56 + 8cbcdd1 commit 4374484

File tree

28 files changed

+796
-3
lines changed

28 files changed

+796
-3
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute an AARCH64 payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_AARCH64,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute an ARMBE payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_ARMBE,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute an ARMLE payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_ARMLE,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute an MIPSBE payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_MIPSBE,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute an MIPSLE payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_MIPSLE,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute an PPC payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_PPC,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute an PPC64 payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_PPC64,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::HTTP
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTP Fetch',
15+
'Description' => 'Fetch and execute a PPC64LE payload from an HTTP server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_PPC64LE,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::Https
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTPS Fetch',
15+
'Description' => 'Fetch and execute an AARCH64 payload from an HTTPS server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_AARCH64,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
##
2+
# This module requires Metasploit: https://metasploit.com/download
3+
# Current source: https://github.com/rapid7/metasploit-framework
4+
##
5+
6+
module MetasploitModule
7+
include Msf::Payload::Adapter::Fetch::Https
8+
include Msf::Payload::Adapter::Fetch::LinuxOptions
9+
10+
def initialize(info = {})
11+
super(
12+
update_info(
13+
info,
14+
'Name' => 'HTTPS Fetch',
15+
'Description' => 'Fetch and execute an ARMBE payload from an HTTPS server.',
16+
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
17+
'Platform' => 'linux',
18+
'Arch' => ARCH_CMD,
19+
'License' => MSF_LICENSE,
20+
'AdaptedArch' => ARCH_ARMBE,
21+
'AdaptedPlatform' => 'linux'
22+
)
23+
)
24+
end
25+
end

0 commit comments

Comments
 (0)