Fix issue 7628, username extracted became garbled

Make the regular expression less aggressive.
bug/bundler_fix
Jin Qian 2016-11-29 12:52:57 -06:00
parent 19bcef0c92
commit 1beeb99d44
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class MetasploitModule < Msf::Auxiliary
end
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
print_good("#{peer} Extracted #{members.length} entries")