fix cookie regex by removing a space

bug/bundler_fix
David Lanner 2015-01-12 23:13:18 -05:00
parent c8f5026fd2
commit c5cfc11d84
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class Metasploit3 < Msf::Exploit::Remote
'method' => datastore['HTTP_METHOD'],
}, 25)
if res && !res.get_cookies.empty?
match = res.get_cookies.match(/([_A-Za-z0-9]+)=([A-Za-z0-9%]*)--([0-9A-Fa-f]+); /)
match = res.get_cookies.match(/([_A-Za-z0-9]+)=([A-Za-z0-9%]*)--([0-9A-Fa-f]+);/)
end
if match