mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Merge pull request #2064 from dcooper16/fix_json_headers
Fix JSON section headers
This commit is contained in:
commit
0118603401
@ -1154,8 +1154,8 @@ fileout_json_section() {
|
|||||||
2) echo -e ",\n \"protocols\" : [" ;;
|
2) echo -e ",\n \"protocols\" : [" ;;
|
||||||
3) echo -e ",\n \"grease\" : [" ;;
|
3) echo -e ",\n \"grease\" : [" ;;
|
||||||
4) echo -e ",\n \"ciphers\" : [" ;;
|
4) echo -e ",\n \"ciphers\" : [" ;;
|
||||||
5) echo -e ",\n \"fs\" : [" ;;
|
5) echo -e ",\n \"serverPreferences\" : [" ;;
|
||||||
6) echo -e ",\n \"serverPreferences\" : [" ;;
|
6) echo -e ",\n \"fs\" : [" ;;
|
||||||
7) echo -e ",\n \"serverDefaults\" : [" ;;
|
7) echo -e ",\n \"serverDefaults\" : [" ;;
|
||||||
8) echo -e ",\n \"headerResponse\" : [" ;;
|
8) echo -e ",\n \"headerResponse\" : [" ;;
|
||||||
9) echo -e ",\n \"vulnerabilities\" : [" ;;
|
9) echo -e ",\n \"vulnerabilities\" : [" ;;
|
||||||
@ -23062,6 +23062,7 @@ lets_roll() {
|
|||||||
fi
|
fi
|
||||||
if "$do_cipher_match"; then
|
if "$do_cipher_match"; then
|
||||||
# we will have an invalid JSON with no if statement
|
# we will have an invalid JSON with no if statement
|
||||||
|
((section_number++))
|
||||||
fileout_section_header $section_number false
|
fileout_section_header $section_number false
|
||||||
run_cipher_match ${single_cipher}
|
run_cipher_match ${single_cipher}
|
||||||
stopwatch run_cipher_match
|
stopwatch run_cipher_match
|
||||||
|
Loading…
Reference in New Issue
Block a user