real-world-onion-sites/get-ct-logs.sh
2018-07-17 06:37:13 +00:00

10 lines
171 B
Bash
Executable File

#!/bin/sh
log=ct-log.txt
curl "https://crt.sh/?q=%25.onion" |
perl -nle 'next unless m!TD.*onion!; s!<.*?>! !g; s!(^\s+|\s+$)!!g; print' |
sort -u >$log
exit 0