File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17606,6 +17606,9 @@ run_winshock() {
1760617606 server_banner="$(grep -Eai '^Server:' $HEADERFILE)"
1760717607 elif [[ -s "$TEMPDIR/$NODEIP.service_detection.txt" ]]; then
1760817608 server_banner="$(grep -Eai '^Server:' "$TEMPDIR/$NODEIP.service_detection.txt")"
17609+ elif "$EXPERIMENTAL"; then
17610+ # If testing e.g. an SMTP server
17611+ :
1760917612 else
1761017613 # We can't use run_http_header here as it messes up the screen. We could automatically
1761117614 # run it when --winshock is requested though but this should suffice here.
@@ -17636,6 +17639,9 @@ run_winshock() {
1763617639 fileout "$jsonID" "OK" "not vulnerable" "$cve" "$cwe"
1763717640 outln
1763817641 fi
17642+ elif "$EXPERIMENTAL"; then
17643+ out "seems "; pr_svrty_critical "vulnerable (NOT ok)"; outln "$check_patches"
17644+ fileout "${jsonID}" "CRITICAL" "seems vulnerable (NOT OK) $check_patches"
1763917645 else
1764017646 pr_svrty_best "not vulnerable (OK)"
1764117647 outln " - doesn't seem to be IIS 8.x"
You can’t perform that action at this time.
0 commit comments