real-world-onion-sites/get-ct-logs.sh

10 lines
171 B
Bash
Raw Normal View History

#!/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