This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # =========================================================== | |
| # Original idea by Mark Phippard <markphip_at_gmail.com> | |
| # Date: Mon, 15 Jun 2020 08:40:37 -0400 | |
| # SRC: https://svn.haxx.se/users/archive-2020-06/0044.shtml | |
| # =========================================================== | |
| for v in ssl3 tls1 tls1_1 tls1_2 tls1_3; do | |
| for c in $(openssl ciphers 'ALL:eNULL' | tr ':' ' '); do | |
| openssl s_client -connect $1:$2 \ | |
| -cipher $c -$v < /dev/null > /dev/null 2>&1 && echo -e "$v:\t$c" | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run this in the project repo from the command-line | |
| # http://stackoverflow.com/a/4593065/99923 | |
| git log --shortstat --author "Xeoncross" --since "2 weeks ago" --until "1 week ago" | grep "files changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed", files, "lines inserted:", inserted, "lines deleted:", deleted}' |