Skip to content

Commit

Permalink
Update modules/exploits/multi/http/wp_bricks_builder_rce.rb
Browse files Browse the repository at this point in the history
Co-authored-by: jheysel-r7 <[email protected]>
  • Loading branch information
Chocapikk and jheysel-r7 authored Mar 26, 2024
1 parent 1f05f9a commit 85e27b0
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion modules/exploits/multi/http/wp_bricks_builder_rce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,35 @@ def initialize(info = {})
},
'Platform' => ['unix', 'linux', 'win', 'php'],
'Arch' => [ARCH_PHP, ARCH_CMD],
'Targets' => [['Automatic', {}]],
'Targets' => [
[
'PHP In-Memory',
{
'Platform' => 'php',
'Arch' => ARCH_PHP,
'DefaultOptions' => { 'PAYLOAD' => 'php/meterpreter/reverse_tcp' },
'Type' => :php_memory
}
],
[
'Unix In-Memory',
{
'Platform' => ['unix', 'linux'],
'Arch' => ARCH_CMD,
'DefaultOptions' => { 'PAYLOAD' => 'cmd/linux/http/x64/meterpreter/reverse_tcp' },
'Type' => :unix_memory
}
],
[
'Windows In-Memory',
{
'Platform' => 'win',
'Arch' => ARCH_CMD,
'DefaultOptions' => { 'PAYLOAD' => 'cmd/windows/http/x64/meterpreter/reverse_tcp' },
'Type' => :win_memory
}
],
],
'Privileged' => false
)
)
Expand Down

0 comments on commit 85e27b0

Please sign in to comment.