mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-10 18:50:58 +01:00
Forgot about @drwetter's allergy for backtics and wc -l
This commit is contained in:
parent
76955c2c5a
commit
8e0ff70f25
@ -4002,7 +4002,7 @@ run_client_simulation() {
|
||||
for name in "${short[@]}"; do
|
||||
# Make sure we run client simulations for those clients that support it
|
||||
if $do_all_simulations || ${current[i]} ; then
|
||||
if $do_all_simulations || [[ `echo "${service[i]}" | grep "$client_service" | wc -l` -eq 1 || "${service[i]}" == "ANY" ]]; then
|
||||
if $do_all_simulations || [[ $(count_lines "$(echo "${service[i]}" | grep "$client_service")") -eq 1 || "${service[i]}" == "ANY" ]]; then
|
||||
#FIXME: printf formatting would look better, especially if we want a wide option here
|
||||
out " ${names[i]} "
|
||||
if $using_sockets && [[ -n "${handshakebytes[i]}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user