mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-04 07:45:27 +01:00 
			
		
		
		
	Merge pull request #961 from tissieres/2.9dev
Certificate-based auth host scanning produces invalid JSON output
This commit is contained in:
		@@ -1475,7 +1475,7 @@ service_detection() {
 | 
				
			|||||||
          *)   if "$CLIENT_AUTH"; then
 | 
					          *)   if "$CLIENT_AUTH"; then
 | 
				
			||||||
                    out " certificate-based authentication => skipping all HTTP checks"
 | 
					                    out " certificate-based authentication => skipping all HTTP checks"
 | 
				
			||||||
                    echo "certificate-based authentication => skipping all HTTP checks" >$TMPFILE
 | 
					                    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
 | 
					               else
 | 
				
			||||||
                    out " Couldn't determine what's running on port $PORT"
 | 
					                    out " Couldn't determine what's running on port $PORT"
 | 
				
			||||||
                    if "$ASSUME_HTTP"; then
 | 
					                    if "$ASSUME_HTTP"; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user