Land #4485, Drupageddon greedy regex fix
commit
4fd4d51d78
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue