File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13830,15 +13830,15 @@ run_heartbleed(){
1383013830 out "likely "
1383113831 pr_svrty_critical "VULNERABLE (NOT ok)"
1383213832 [[ $DEBUG -lt 3 ]] && tm_out ", use debug >=3 to confirm"
13833- fileout "$jsonID" "CRITICAL" "VULNERABLE $cve" "$cwe" "$hint"
13833+ fileout "$jsonID" "CRITICAL" "VULNERABLE" " $cve" "$cwe" "$hint"
1383413834 fi
1383513835 else
1383613836 pr_svrty_critical "VULNERABLE (NOT ok)"
13837- fileout "$jsonID" "CRITICAL" "VULNERABLE $cve" "$cwe" "$hint"
13837+ fileout "$jsonID" "CRITICAL" "VULNERABLE" " $cve" "$cwe" "$hint"
1383813838 fi
1383913839 else
1384013840 pr_svrty_best "not vulnerable (OK)"
13841- fileout "$jsonID" "OK" "not vulnerable $cve" "$cwe"
13841+ fileout "$jsonID" "OK" "not vulnerable" " $cve" "$cwe"
1384213842 fi
1384313843 fi
1384413844 outln
@@ -17883,7 +17883,7 @@ get_a_record() {
1788317883 ip4=$(filter_ip4_address $(strip_lf "$(nslookup -querytype=a "$1" 2>/dev/null | awk '/^Name/ { getline; print $NF }')"))
1788417884 fi
1788517885 OPENSSL_CONF="$saved_openssl_conf" # see https://github.com/drwetter/testssl.sh/issues/134
17886- echo "$ip4"
17886+ safe_echo "$ip4"
1788717887}
1788817888
1788917889# arg1: a host name. Returned will be 0-n IPv6 addresses
@@ -17924,7 +17924,7 @@ get_aaaa_record() {
1792417924 fi
1792517925 fi
1792617926 OPENSSL_CONF="$saved_openssl_conf" # see https://github.com/drwetter/testssl.sh/issues/134
17927- echo "$ip6"
17927+ safe_echo "$ip6"
1792817928}
1792917929
1793017930# RFC6844: DNS Certification Authority Authorization (CAA) Resource Record
You can’t perform that action at this time.
0 commit comments