mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-08-04 05:17:39 +02:00
Merge pull request #3108 from testssl/fix_3107_fname-warning
Remove warning message when supplying a fname
This commit is contained in:
+2
-2
@@ -26037,8 +26037,8 @@ issue_cmdline_warnings() {
|
|||||||
fileout_insert_warning "cmdline_ssl-native" "WARN" "Usage of '--ssl-native' is not recommended as it will return incomplete and maybe even incorrect results"
|
fileout_insert_warning "cmdline_ssl-native" "WARN" "Usage of '--ssl-native' is not recommended as it will return incomplete and maybe even incorrect results"
|
||||||
fi
|
fi
|
||||||
tmp=${URI#*//} # remove https:// and (future) friends
|
tmp=${URI#*//} # remove https:// and (future) friends
|
||||||
if [[ ! $tmp =~ [a-zA-Z] ]] && [[ ! $tmp =~ $avoid_complaints ]]; then
|
if [[ ! $tmp =~ [a-zA-Z] ]] && [[ ! $tmp =~ $avoid_complaints ]] && [[ -z "$FNAME" ]]; then
|
||||||
# No letters indicate it's not a name
|
# No letters indicate it's not a name. No mass testing via via
|
||||||
prln_warning " Warning: Target is not a server name: results may be completely wrong, at minimum trust may show false results."
|
prln_warning " Warning: Target is not a server name: results may be completely wrong, at minimum trust may show false results."
|
||||||
fileout_insert_warning "cmdline_ip-target" "WARN" "Target is not a server name: results may be completely wrong, at minimum trust may show false results."
|
fileout_insert_warning "cmdline_ip-target" "WARN" "Target is not a server name: results may be completely wrong, at minimum trust may show false results."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user