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 092b43c commit 2597c71Copy full SHA for 2597c71
modules/auxiliary/scanner/http/litespeed_source_disclosure.rb
@@ -62,7 +62,12 @@ def run_host(ip)
62
'uri' => "#{uri}#{nullbytetxt}",
63
}, 25)
64
65
- version = res.headers['Server'] if res
+ if res.nil?
66
+ print_error("Connection timed out")
67
+ return
68
+ end
69
+
70
+ version = res.headers['Server']
71
72
if vuln_versions.include?(version)
73
print_good("#{target_url} - LiteSpeed - Vulnerable version: #{version}")
0 commit comments