fixed EOL spaces
fixed EOL spaces
This commit is contained in:
@@ -222,7 +222,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||
# Finds SID from HTTP response headers
|
||||
def get_sid(res)
|
||||
if res == nil?
|
||||
fail_with(Failure::Unknown, 'Unable to retrieve session ID!')
|
||||
fail_with(Failure::Unknown, 'Unable to retrieve session ID!')
|
||||
else
|
||||
sid = res.get_cookies.scan(/(JSESSIONID=\w+);*/).flatten[0] || ''
|
||||
return sid
|
||||
|
||||
Reference in New Issue
Block a user