mirror of
https://github.com/alecmuffett/real-world-onion-sites.git
synced 2024-12-25 15:19:34 -05:00
14 lines
225 B
Bash
Executable File
14 lines
225 B
Bash
Executable File
#!/bin/sh
|
|
|
|
log=ct-log.txt
|
|
tf=/tmp/ctget$$.txt
|
|
|
|
curl "https://crt.sh/?q=%25.onion" |
|
|
perl -nle 'next unless m!TD.*onion!; s!<.*?>! !g; s!(^\s+|\s+$)!!g; print' |
|
|
sort -u >$tf
|
|
|
|
test -s $tf && cp $tf $log
|
|
rm $tf
|
|
|
|
exit 0
|