Look at the right link to extract users
parent
ba50f2f88b
commit
e47f38b3c9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue