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 3066492 commit 4845b4bCopy full SHA for 4845b4b
modules/exploits/multi/http/orientdb_exec.rb
@@ -52,7 +52,7 @@ def check
52
uri = target_uri
53
uri.path = normalize_uri(uri.path)
54
res = send_request_raw({'uri' => "#{uri.path}listDatabases"})
55
- if res and res.code == 200 and res.headers['Server'] =~ /OrientDB Server v\.2\.2\.[2-9]|1[0-9]|2[0-2]/
+ if res and res.code == 200 and res.headers['Server'] =~ /OrientDB Server v\.2\.2\./
56
print_good("Version: #{res.headers['Server']}")
57
return Exploit::CheckCode::Vulnerable
58
else
0 commit comments