Merge pull request #961 from tissieres/2.9dev

Certificate-based auth host scanning produces invalid JSON output
This commit is contained in:
Dirk Wetter 2018-01-19 14:10:29 +01:00 committed by GitHub
commit bce69e8583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1475,7 +1475,7 @@ service_detection() {
*) if "$CLIENT_AUTH"; then
out " certificate-based authentication => skipping all HTTP checks"
echo "certificate-based authentication => skipping all HTTP checks" >$TMPFILE
fileout "client_auth" "INFO" "certificate-based authentication => skipping all HTTP checks"
fileout "service" "INFO" "certificate-based authentication => skipping all HTTP checks"
else
out " Couldn't determine what's running on port $PORT"
if "$ASSUME_HTTP"; then