Fix issue 7628, username extracted became garbled
Make the regular expression less aggressive.bug/bundler_fix
parent
19bcef0c92
commit
1beeb99d44
|
@ -66,7 +66,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
end
|
end
|
||||||
|
|
||||||
def extract_members(res, url)
|
def extract_members(res, url)
|
||||||
members = res.body.scan(/<div class="ccm\-profile\-member\-username">(.*)<\/div>/i)
|
members = res.body.scan(/<div class="ccm\-profile\-member\-username">(.*?)<\/div>/i)
|
||||||
|
|
||||||
if members
|
if members
|
||||||
print_good("#{peer} Extracted #{members.length} entries")
|
print_good("#{peer} Extracted #{members.length} entries")
|
||||||
|
|
Loading…
Reference in New Issue