Skip to content

Commit 78e67d8

Browse files
committed
Shorten censys link
Remove sort order and fix the argument separator
1 parent d38a8b2 commit 78e67d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15617,7 +15617,7 @@ run_drown() {
1561715617
local cwe="CWE-310"
1561815618
local hint=""
1561915619
local jsonID="DROWN"
15620-
local censys_host_url="https://search.censys.io/search?resource=hosts&sort=RELEVANCE&virtual_hosts=INCLUDE&"
15620+
local censys_host_url="https://search.censys.io/search?resource=hosts&virtual_hosts=INCLUDE"
1562115621

1562215622
if [[ $VULN_COUNT -le $VULN_THRESHLD ]]; then
1562315623
outln
@@ -15643,7 +15643,7 @@ run_drown() {
1564315643
return 1
1564415644
fi
1564515645

15646-
censys_host_url="$censys_host_url?q=$cert_fingerprint_sha2"
15646+
censys_host_url="$censys_host_url&q=$cert_fingerprint_sha2"
1564715647
if [[ $(has_server_protocol ssl2) -ne 1 ]]; then
1564815648
sslv2_sockets
1564915649
else

0 commit comments

Comments
 (0)