Look at the right link to extract users

bug/bundler_fix
wchen-r7 2017-01-26 18:20:06 -06:00
parent ba50f2f88b
commit e47f38b3c9
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class MetasploitModule < Msf::Auxiliary
html = res.get_html_document html = res.get_html_document
users = html.search('a').map { |a| users = html.search('a').map { |a|
a.attributes['href'].text.scan(/broadWeb\/user\/delAdmin\.asp\?uname=(.+)/).flatten.first a.attributes['href'].text.scan(/broadWeb\/user\/upAdminPg\.asp\?uname=(.+)/).flatten.first
}.delete_if { |user| user.nil? } }.delete_if { |user| user.nil? }
users users