mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	
							
								
								
									
										18
									
								
								testssl.sh
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								testssl.sh
									
									
									
									
									
								
							@@ -661,15 +661,15 @@ fileout_json_section() {
 | 
				
			|||||||
     case $1 in
 | 
					     case $1 in
 | 
				
			||||||
           1) echo -e    "                    \"singleCipher\"      : [" ;;
 | 
					           1) echo -e    "                    \"singleCipher\"      : [" ;;
 | 
				
			||||||
           2) echo -e    "                    \"protocols\"         : [" ;;
 | 
					           2) echo -e    "                    \"protocols\"         : [" ;;
 | 
				
			||||||
           3) echo -e ",\n                    \"ciphers\"           : [" ;;
 | 
					           3) echo -e ",\n                    \"grease\"            : [" ;;
 | 
				
			||||||
           4) echo -e ",\n                    \"pfs\"               : [" ;;
 | 
					           4) echo -e ",\n                    \"ciphers\"           : [" ;;
 | 
				
			||||||
           5) echo -e ",\n                    \"serverPreferences\" : [" ;;
 | 
					           5) echo -e ",\n                    \"pfs\"               : [" ;;
 | 
				
			||||||
           6) echo -e ",\n                    \"serverDefaults\"    : [" ;;
 | 
					           6) echo -e ",\n                    \"serverPreferences\" : [" ;;
 | 
				
			||||||
           7) echo -e ",\n                    \"headerResponse\"    : [" ;;
 | 
					           7) echo -e ",\n                    \"serverDefaults\"    : [" ;;
 | 
				
			||||||
           8) echo -e ",\n                    \"vulnerabilities\"   : [" ;;
 | 
					           8) echo -e ",\n                    \"headerResponse\"    : [" ;;
 | 
				
			||||||
           9) echo -e ",\n                    \"cipherTests\"       : [" ;;
 | 
					           9) echo -e ",\n                    \"vulnerabilities\"   : [" ;;
 | 
				
			||||||
          10) echo -e ",\n                    \"browserSimulations\": [" ;;
 | 
					          10) echo -e ",\n                    \"cipherTests\"       : [" ;;
 | 
				
			||||||
          11) echo -e ",\n                    \"grease\"            : [" ;;
 | 
					          11) echo -e ",\n                    \"browserSimulations\": [" ;;
 | 
				
			||||||
           *) echo "invalid section" ;;
 | 
					           *) echo "invalid section" ;;
 | 
				
			||||||
     esac
 | 
					     esac
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user