We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d6ca5c + e293b7d commit 2f398d3Copy full SHA for 2f398d3
1 file changed
testssl.sh
@@ -19533,6 +19533,13 @@ parse_cmd_line() {
19533
do_client_simulation=true
19534
;;
19535
-U|--vulnerable|--vulnerabilities)
19536
+ # Lookahead function: If the order of the cmdline is '-U --ids-friendly'
19537
+ # then we need to make sure we catch --ids-friendly. Normally we do not,
19538
+ # see #1717. The following statement makes sure. In the do-while + case-esac
19539
+ # loop it will be execute again, but it does not hurt
19540
+ if [[ "${CMDLINE_ARRAY[@]}" =~ --ids-friendly ]]; then
19541
+ OFFENSIVE=false
19542
+ fi
19543
do_vulnerabilities=true
19544
do_heartbleed="$OFFENSIVE"
19545
do_ccs_injection="$OFFENSIVE"
0 commit comments