Certificate-based auth host scanning produces invalid JSON output

This commit is contained in:
Cédric Tissières 2018-01-18 14:30:22 +01:00
parent b0f4253ff2
commit e0d6bb3aba

View File

@ -1472,7 +1472,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