We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9325ef8 + 11906eb commit c65ff2fCopy full SHA for c65ff2f
modules/auxiliary/scanner/http/dolibarr_login.rb
@@ -46,7 +46,7 @@ def get_sid_token
46
return [nil, nil] if res.nil? || res.get_cookies.empty?
47
48
# Get the session ID from the cookie
49
- m = get_cookies.match(/(DOLSESSID_.+);/)
+ m = res.get_cookies.match(/(DOLSESSID_.+);/)
50
id = (m.nil?) ? nil : m[1]
51
52
# Get the token from the decompressed HTTP body response
0 commit comments