aboutsummaryrefslogtreecommitdiff
path: root/writeups/ipv6-korea/aaaa_popular-sites.sh
blob: 5ca15b785ee0f3d94bbc56fae2cd7f90a93d26a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#!/bin/bash
# From https://ko.semrush.com/trending-websites/kr/all
declare -ra SITES=(
	"youtube.com"
	"google.com"
	"naver.com"
	"dcinside.com"
	"namu.wiki"
	"coupang.com"
	"fmkorea.com"
	"daum.net"
	"tistory.com"
	"kakao.com"
	"kr-weathernews.com"
	"arca.live"
	"ilbe.com"
	"inven.co.kr"
	"fabulouslink.xyz"
	"ruliweb.com"
	"aliexpress.com"
	"twitter.com"
	"facebook.com"
	"instagram.com"
	"tvwiki.top"
	"nate.com"
	"dogdrip.net"
	"donga.com"
	"draplay.info"
	"gmarket.co.kr"
	"google.co.kr"
	"sauceflex.com"
	"twitch.tv"
	"ppomppu.co.kr"
	"nexon.com"
	"humoruniv.com"
	"ssg.com"
	"theqoo.net"
	"av19.org"
	"sflex.us"
	"yadongtube.net"
	"linkkf.app"
	"buzzvil.com"
	"newtoki315.com"
	"wikipedia.org"
	"manatoki315.net"
	"chosun.com"
	"newtoki314.com"
	"manatoki314.net"
	"avsee.in"
	"newtoki313.com"
	"appier.net"
	"manatoki313.net"
	"pornhub.com"
	"etoland.co.kr"
	"samsung.com"
	"yatv.net"
	"ravielink.xyz"
	"afreecatv.com"
	"newtoki316.com"
	"lotteon.com"
	"auction.co.kr"
	"clien.net"
	"danawa.com"
	"openai.com"
	"postype.com"
	"manatoki316.net"
	"netflix.com"
	"linkmine.co.kr"
	"musinsa.com"
	"instiz.net"
	"oliveyoung.co.kr"
	"tvmon.help"
	"shinhancard.com"
	"twidouga.net"
	"inlcorp.com"
	"bobaedream.co.kr"
	"asianhd1.com"
	"cjlogistics.com"
	"tdgall.com"
	"yadongkorea.red"
	"mediacategory.com"
	"kbcard.com"
	"dhlottery.co.kr"
	"op.gg"
	"adbrix.io"
	"xvideos.com"
	"jmana.one"
	"gezip.net"
	"tossbank.com"
	"booktoki315.com"
	"brunch.co.kr"
	"newspic.kr"
	"anilife.live"
	"ygosu.com"
	"watchfreejavonline.co"
	"fmkorea.org"
	"booktoki314.com"
	"mk.co.kr"
	"hasha.in"
	"avdbs.com"
	"ssfshop.com"
	"tgd.kr"
)

w=0
for s in ${SITES[@]}
do
	if [ ${#s} -gt $w ]; then
		w=${#s}
	fi
done

cnt=0
for s in ${SITES[@]}
do
	aaaa=( $(dig +short AAAA "$s") )
	tpl=${aaaa[@]}
	tpl=${tpl// /,}

	[ ${#aaaa[@]} -gt 0 ] && let 'cnt+=1'

	printf '%-'$w's\t%s' $s $tpl
	echo # MacOS
done

echo "$cnt/${#SITES[@]}" >&2