mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 22:33:40 +01:00
Script to scan Alexa's top 1m websites
This commit is contained in:
parent
af7b4ce18c
commit
e4ea957c8d
18
top1m/testtop1m.sh
Executable file
18
top1m/testtop1m.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
[ ! -e "results" ] && mkdir results
|
||||||
|
i=1
|
||||||
|
while [ $i -lt 1000000 ]
|
||||||
|
do
|
||||||
|
echo processings sites $i to $((i + 50))
|
||||||
|
for t in $(tail -$((1000000 - $i)) top-1m.csv | head -50 |cut -d ',' -f 2)
|
||||||
|
do
|
||||||
|
tcping -u 2000000 $t 443
|
||||||
|
if [ $? -gt 0 ]
|
||||||
|
then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
../cipherscan $t:443 > results/$t &
|
||||||
|
done
|
||||||
|
sleep 10
|
||||||
|
i=$(( i + 50))
|
||||||
|
done
|
1000000
top1m/top-1m.csv
Normal file
1000000
top1m/top-1m.csv
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user