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.
2 parents 805f98f + 35a780c commit 3db72e9Copy full SHA for 3db72e9
modules/exploits/windows/scada/advantech_webaccess_dashboard_file_upload.rb
@@ -56,18 +56,11 @@ def version_match(data)
56
end
57
58
def vuln_version?
59
- res = send_request_cgi(
+ res = send_request_cgi!(
60
'method' => 'GET',
61
'uri' => target_uri.to_s
62
)
63
64
- if res.redirect?
65
66
- 'method' => 'GET',
67
- 'uri' => normalize_uri(res.redirection)
68
- )
69
- end
70
-
71
ver = res && res.body ? version_match(res.body) : nil
72
true ? Gem::Version.new(ver) == Gem::Version.new('8.0') : false
73
@@ -128,4 +121,3 @@ def exploit
128
121
return unless exec_file?(filename)
129
122
130
123
131
0 commit comments