Land #4485, Drupageddon greedy regex fix

bug/bundler_fix
William Vu 2014-12-30 10:16:57 -06:00
commit 4fd4d51d78
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@ class Metasploit3 < Msf::Exploit::Remote
end
def extract_form_ids(content)
form_build_id = $1 if content =~ /name="form_build_id" value="(.+)" \/>/
form_token = $1 if content =~ /name="form_token" value="(.+)" \/>/
form_build_id = $1 if content =~ /name="form_build_id" value="(.+?)"/
form_token = $1 if content =~ /name="form_token" value="(.+?)"/
vprint_debug("#{peer} - form_build_id: #{form_build_id}")
vprint_debug("#{peer} - form_token: #{form_token}")