tlsgrab - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
tlsgrab (248B) | |
--- | |
1 #!/bin/sh | |
2 | |
3 export PATH="$PATH:/home/annna/bin" | |
4 | |
5 if [ $# -lt 1 ]; | |
6 then | |
7 printf "usage: %s host:port\n" "$(basename "$0")" >&2 | |
8 exit 1 | |
9 fi | |
10 | |
11 host="$1" | |
12 openssl s_client \ | |
13 -connect "${host}" \ | |
14 -showcerts </dev/null \ | |
15 2>&1 \ | |
16 | /br/bin/bitreich-paste | |
17 |