Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added info about OpenSSL proxy option to cipherscan script. #131

Merged
merged 2 commits into from
Jan 13, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cipherscan
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ Some useful OpenSSL options:
that require turning TLS after initial protocol specific
hello
-servername name Request SNI support for connections
-proxy proxyhost:port Connect to the scan target via specified proxy
(req. OpenSSL 1.0.x)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it really work in all 1.0.x branches? I don't see it listed in 1.0.2j s_client -help message....

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm, this is interesting. The copy of OpenSSL supplied with cipherscan works with the -proxy option, but a local copy of 1.0.2j doesn't work with it. May have to change that to something like "Requires supplied OpenSSL or >1.1.0"? Trying to figure out exactly where this got introduced to OpenSSL is a challenge because the feature appears to predate their migration to Git (at least, I couldn't find anything about it in their repository).

-verify_hostname name Request host name verification in connection
(req. OpenSSL 1.0.2)
-verify_ip ip Request host name verification for an IP address, usually
Expand All @@ -258,6 +260,7 @@ Some useful OpenSSL options:
EXAMPLES:
$0 -starttls xmpp jabber.ccc.de:5222
$0 -servername youtube.com youtube.com:443
$0 -proxy myproxy.example.com:8080 youtube.com:443
"
}

Expand Down Expand Up @@ -843,7 +846,7 @@ display_results_in_terminal() {
fi
done|column -t
echo

if [[ ($sigalg =~ RSA && $pubkey -ge 2047) || ($cipher =~ ECDSA && $pubkey -gt 255) ]]; then
pubkey="${c_green}${pubkey}${c_reset}"
else
Expand Down