We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47f38b commit fd6a58aCopy full SHA for fd6a58a
modules/auxiliary/gather/advantech_webaccess_creds.rb
@@ -119,8 +119,8 @@ def get_users_page(sid)
119
html = res.get_html_document
120
121
users = html.search('a').map { |a|
122
- a.attributes['href'].text.scan(/broadWeb\/user\/upAdminPg\.asp\?uname=(.+)/).flatten.first
123
- }.delete_if { |user| user.nil? }
+ Rex::Text.uri_decode(a.attributes['href'].text.scan(/broadWeb\/user\/upAdminPg\.asp\?uname=(.+)/).flatten.first || '')
+ }.delete_if { |user| user.blank? }
124
125
users
126
end
0 commit comments