Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
devops-tools
ssl-certificate-utils
Commits
4c637b8a
Commit
4c637b8a
authored
May 09, 2020
by
Xueshan Feng
Browse files
Add nmap command test.
parent
ac07a923
Changes
1
Hide whitespace changes
Inline
Side-by-side
check-cipher.sh
View file @
4c637b8a
...
...
@@ -3,4 +3,5 @@ fqdn=$1
port
=
${
2
:-
443
}
[
-x
$fqdn
]
&&
echo
"FQDN of the site is required."
&&
exit
1
!
host
$fqdn
>
/dev/null
&&
echo
"
$fqdn
is not a vaild host."
&&
exit
1
!
which nmap
&&
echo
"namp command is required."
&&
exit
1
nmap
--script
ssl-enum-ciphers
-p
443
$fqdn
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment