Land #11714, DUMP_OUTPUT fix for SA-CORE-2019-003
commit
8fcc36b6a0
|
@ -45,6 +45,11 @@ to work.
|
|||
|
||||
Set this to a node ID on the target when using the `GET` method.
|
||||
|
||||
**DUMP_OUTPUT**
|
||||
|
||||
Enable this if you'd like to see HTTP responses, including command
|
||||
output. Defaults to `false` unless `cmd/unix/generic` is your payload.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
|
|
|
@ -75,9 +75,10 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
))
|
||||
|
||||
register_options([
|
||||
OptEnum.new('METHOD', [true, 'HTTP method to use', 'POST',
|
||||
['GET', 'POST', 'PATCH', 'PUT']]),
|
||||
OptInt.new('NODE', [false, 'Node ID to target with GET method', 1])
|
||||
OptEnum.new('METHOD', [true, 'HTTP method to use', 'POST',
|
||||
['GET', 'POST', 'PATCH', 'PUT']]),
|
||||
OptInt.new('NODE', [false, 'Node ID to target with GET method', 1]),
|
||||
OptBool.new('DUMP_OUTPUT', [false, 'Dump payload command output', false])
|
||||
])
|
||||
|
||||
register_advanced_options([
|
||||
|
|
Loading…
Reference in New Issue