From 78e67d8fff8521f5f8714ac2165d8fe99e5601cf Mon Sep 17 00:00:00 2001 From: Dirk Date: Sat, 14 May 2022 11:52:45 +0200 Subject: [PATCH] Shorten censys link Remove sort order and fix the argument separator --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 5ac1dce..020197c 100755 --- a/testssl.sh +++ b/testssl.sh @@ -15617,7 +15617,7 @@ run_drown() { local cwe="CWE-310" local hint="" local jsonID="DROWN" - local censys_host_url="https://search.censys.io/search?resource=hosts&sort=RELEVANCE&virtual_hosts=INCLUDE&" + local censys_host_url="https://search.censys.io/search?resource=hosts&virtual_hosts=INCLUDE" if [[ $VULN_COUNT -le $VULN_THRESHLD ]]; then outln @@ -15643,7 +15643,7 @@ run_drown() { return 1 fi - censys_host_url="$censys_host_url?q=$cert_fingerprint_sha2" + censys_host_url="$censys_host_url&q=$cert_fingerprint_sha2" if [[ $(has_server_protocol ssl2) -ne 1 ]]; then sslv2_sockets else