Missing regex '+', readding so we get full API key.

This commit is contained in:
Pearce Barry 2017-06-20 15:28:15 -05:00
parent b02719e795
commit 14f0409c6c
No known key found for this signature in database
GPG Key ID: 0916F4DEA5C5DE0A
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class MetasploitModule < Msf::Exploit::Remote
'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
print_status("Retrieved API key [ #{api_key} ]")
else