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 243ec5f commit adf1385Copy full SHA for adf1385
lib/metasploit/framework/login_scanner/bavision_cameras.rb
@@ -19,7 +19,7 @@ def check_setup
19
login_uri = normalize_uri("#{uri}")
20
res = send_request({'uri'=> login_uri})
21
22
- if res && res.headers['WWW-Authenticate'].match(/realm="IPCamera Login"/)
+ if res && res.headers['WWW-Authenticate'] && res.headers['WWW-Authenticate'].match(/realm="IPCamera Login"/)
23
return true
24
end
25
0 commit comments