We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7b038b + 6334996 commit 126bff1Copy full SHA for 126bff1
modules/exploits/multi/http/php_fpm_rce.rb
@@ -51,6 +51,7 @@ def initialize(info = {})
51
'Platform' => 'php',
52
'Arch' => ARCH_PHP,
53
'Payload' => {
54
+ 'Encoder' => 'php/base64',
55
'PrependEncoder' => 'php -r "',
56
'AppendEncoder' => '"'
57
}
@@ -310,7 +311,7 @@ def send_payload
310
311
allow_retry: false
312
)
313
Rex.sleep(1)
- return session_created? ? true : nil
314
+ return session_created? || nil
315
end
316
317
def send_backdoor_cleanup
0 commit comments