Discovered the New World
#!/bin/bash
for (( i=1 ; i <= 225 ; i++ ))
do
nslookup 140.119.160.${i} | tail -2 | head -n 1 | grep "cs" >> n_host
done
1.162.119.140.IN-ADDR.ARPA name = dns.cs.nccu.edu.tw.
3.162.119.140.IN-ADDR.ARPA name = test.cs.nccu.edu.tw.
10.162.119.140.IN-ADDR.ARPA name = meetingroom.cs.nccu.edu.tw.
11.162.119.140.IN-ADDR.ARPA name = venus.cs.nccu.edu.tw.
12.162.119.140.IN-ADDR.ARPA name = jupiter.cs.nccu.edu.tw.
18.162.119.140.IN-ADDR.ARPA name = clhan.cs.nccu.edu.tw.
23.162.119.140.IN-ADDR.ARPA name = sakura.cs.nccu.edu.tw.
25.162.119.140.IN-ADDR.ARPA name = ts.cs.nccu.edu.tw.
26.162.119.140.IN-ADDR.ARPA name = ts_2.cs.nccu.edu.tw.
27.162.119.140.IN-ADDR.ARPA name = ts27.cs.nccu.edu.tw.
28.162.119.140.IN-ADDR.ARPA name = ts28.cs.nccu.edu.tw.
29.162.119.140.IN-ADDR.ARPA name = ts29.cs.nccu.edu.tw.
30.162.119.140.IN-ADDR.ARPA name = ts30.cs.nccu.edu.tw.
34.162.119.140.IN-ADDR.ARPA name = ts34.cs.nccu.edu.tw.
41.162.119.140.IN-ADDR.ARPA name = swww.cs.nccu.edu.tw.
44.162.119.140.IN-ADDR.ARPA name = ba.cs.nccu.edu.tw. <- can use ssh to connect but I have no pw
50.162.119.140.IN-ADDR.ARPA name = plum.cs.nccu.edu.tw. <- 22port open but I have no pw
51.162.119.140.IN-ADDR.ARPA name = cherry.cs.nccu.edu.tw. <- just cherry
52.162.119.140.IN-ADDR.ARPA name = mail.cs.nccu.edu.tw. <- = cherry
53.162.119.140.IN-ADDR.ARPA name = www.cs.nccu.edu.tw. <- = banana
54.162.119.140.IN-ADDR.ARPA name = photo.cs.nccu.edu.tw. <- = banana
55.162.119.140.IN-ADDR.ARPA name = ftp.cs.nccu.edu.tw. <-宅爆了
56.162.119.140.IN-ADDR.ARPA name = jeep.cs.nccu.edu.tw.
57.162.119.140.IN-ADDR.ARPA name = grapefruit.cs.nccu.edu.tw.
58.162.119.140.IN-ADDR.ARPA name = lemon.cs.nccu.edu.tw.
59.162.119.140.IN-ADDR.ARPA name = peach.cs.nccu.edu.tw.
61.162.119.140.IN-ADDR.ARPA name = pineapple.cs.nccu.edu.tw.
62.162.119.140.IN-ADDR.ARPA name = jujube.cs.nccu.edu.tw.
63.162.119.140.IN-ADDR.ARPA name = grape.cs.nccu.edu.tw.
64.162.119.140.IN-ADDR.ARPA name = vital1.cs.nccu.edu.tw.
65.162.119.140.IN-ADDR.ARPA name = vital2.cs.nccu.edu.tw.
66.162.119.140.IN-ADDR.ARPA name = blog.cs.nccu.edu.tw.
67.162.119.140.IN-ADDR.ARPA name = aiecon.cs.nccu.edu.tw.(no pw)
68.162.119.140.IN-ADDR.ARPA name = ttsai03.cs.nccu.edu.tw.
69.162.119.140.IN-ADDR.ARPA name = ttsai01.cs.nccu.edu.tw.
70.162.119.140.IN-ADDR.ARPA name = ttsai02.cs.nccu.edu.tw.
71.162.119.140.IN-ADDR.ARPA name = ksl1.cs.nccu.edu.tw.
72.162.119.140.IN-ADDR.ARPA name = ksl2.cs.nccu.edu.tw.
73.162.119.140.IN-ADDR.ARPA name = ksl3.cs.nccu.edu.tw.
74.162.119.140.IN-ADDR.ARPA name = jsliuprinter.cs.nccu.edu.tw.
76.162.119.140.IN-ADDR.ARPA name = tiger.cs.nccu.edu.tw.
77.162.119.140.IN-ADDR.ARPA name = chair.cs.nccu.edu.tw.
78.162.119.140.IN-ADDR.ARPA name = dragon.cs.nccu.edu.tw.
79.162.119.140.IN-ADDR.ARPA name = phoenix.cs.nccu.edu.tw.
81.162.119.140.IN-ADDR.ARPA name = ts81.cs.nccu.edu.tw.
82.162.119.140.IN-ADDR.ARPA name = ts82.cs.nccu.edu.tw.
83.162.119.140.IN-ADDR.ARPA name = ts83.cs.nccu.edu.tw.
84.162.119.140.IN-ADDR.ARPA name = mc1temp.cs.nccu.edu.tw.
87.162.119.140.IN-ADDR.ARPA name = Michigan.cs.nccu.edu.tw.
88.162.119.140.IN-ADDR.ARPA name = mig.cs.nccu.edu.tw.
89.162.119.140.IN-ADDR.ARPA name = annarbor.cs.nccu.edu.tw.
91.162.119.140.IN-ADDR.ARPA name = sc1.cs.nccu.edu.tw.
92.162.119.140.IN-ADDR.ARPA name = sc2.cs.nccu.edu.tw.
93.162.119.140.IN-ADDR.ARPA name = sc3.cs.nccu.edu.tw.
94.162.119.140.IN-ADDR.ARPA name = sametimead.cs.nccu.edu.tw.
95.162.119.140.IN-ADDR.ARPA name = sc4.cs.nccu.edu.tw.
96.162.119.140.IN-ADDR.ARPA name = ubuntu.cs.nccu.edu.tw.
97.162.119.140.IN-ADDR.ARPA name = wuzero.cs.nccu.edu.tw.
98.162.119.140.IN-ADDR.ARPA name = Linux.cs.nccu.edu.tw.
99.162.119.140.IN-ADDR.ARPA name = teamkube.cs.nccu.edu.tw.
100.162.119.140.IN-ADDR.ARPA name = PROXY.cs.nccu.edu.tw.
101.162.119.140.IN-ADDR.ARPA name = wutwo.cs.nccu.edu.tw.
102.162.119.140.IN-ADDR.ARPA name = wuthree.cs.nccu.edu.tw.
103.162.119.140.IN-ADDR.ARPA name = wufour.cs.nccu.edu.tw.
104.162.119.140.IN-ADDR.ARPA name = wufive.cs.nccu.edu.tw.
105.162.119.140.IN-ADDR.ARPA name = ap1.cs.nccu.edu.tw.
106.162.119.140.IN-ADDR.ARPA name = ap2.cs.nccu.edu.tw.
107.162.119.140.IN-ADDR.ARPA name = new.cs.nccu.edu.tw.
108.162.119.140.IN-ADDR.ARPA name = cprinter2f.cs.nccu.edu.tw.
111.162.119.140.IN-ADDR.ARPA name = 3c1.cs.nccu.edu.tw.
112.162.119.140.IN-ADDR.ARPA name = 3c2.cs.nccu.edu.tw.
113.162.119.140.IN-ADDR.ARPA name = 3c3.cs.nccu.edu.tw.
114.162.119.140.IN-ADDR.ARPA name = 3c4.cs.nccu.edu.tw.
115.162.119.140.IN-ADDR.ARPA name = 3c5.cs.nccu.edu.tw.
116.162.119.140.IN-ADDR.ARPA name = 3c6.cs.nccu.edu.tw.
117.162.119.140.IN-ADDR.ARPA name = 3c7.cs.nccu.edu.tw.
118.162.119.140.IN-ADDR.ARPA name = 3c8.cs.nccu.edu.tw.
119.162.119.140.IN-ADDR.ARPA name = 3c9.cs.nccu.edu.tw.
120.162.119.140.IN-ADDR.ARPA name = 2013assist.cs.nccu.edu.tw.
122.162.119.140.IN-ADDR.ARPA name = wywang.cs.nccu.edu.tw.
123.162.119.140.IN-ADDR.ARPA name = assist3.cs.nccu.edu.tw.
124.162.119.140.IN-ADDR.ARPA name = assist4.cs.nccu.edu.tw.
129.162.119.140.IN-ADDR.ARPA name = ncc755.cs.nccu.edu.tw.(no pw)
131.162.119.140.IN-ADDR.ARPA name = floodfire.cs.nccu.edu.tw.
137.162.119.140.IN-ADDR.ARPA name = office6p.cs.nccu.edu.tw.
138.162.119.140.IN-ADDR.ARPA name = color-laserjet.cs.nccu.edu.tw.
139.162.119.140.IN-ADDR.ARPA name = copy.cs.nccu.edu.tw.
140.162.119.140.IN-ADDR.ARPA name = hp4050.cs.nccu.edu.tw.
141.162.119.140.IN-ADDR.ARPA name = 4fhp2200.cs.nccu.edu.tw.
142.162.119.140.IN-ADDR.ARPA name = 3fhp2200.cs.nccu.edu.tw.
143.162.119.140.IN-ADDR.ARPA name = 2fhp2200.cs.nccu.edu.tw.
150.162.119.140.IN-ADDR.ARPA name = organic.cs.nccu.edu.tw.
170.162.119.140.IN-ADDR.ARPA name = jong-new.cs.nccu.edu.tw.
171.162.119.140.IN-ADDR.ARPA name = j-notebook.cs.nccu.edu.tw.
172.162.119.140.IN-ADDR.ARPA name = jong.cs.nccu.edu.tw.
174.162.119.140.IN-ADDR.ARPA name = barney.cs.nccu.edu.tw.
176.162.119.140.IN-ADDR.ARPA name = clinton.cs.nccu.edu.tw.
177.162.119.140.IN-ADDR.ARPA name = grace.cs.nccu.edu.tw.
178.162.119.140.IN-ADDR.ARPA name = apple.cs.nccu.edu.tw.
180.162.119.140.IN-ADDR.ARPA name = airship.cs.nccu.edu.tw.
181.162.119.140.IN-ADDR.ARPA name = c3en.cs.nccu.edu.tw.
186.162.119.140.IN-ADDR.ARPA name = dom.cs.nccu.edu.tw.
187.162.119.140.IN-ADDR.ARPA name = c3ennb1.cs.nccu.edu.tw.
188.162.119.140.IN-ADDR.ARPA name = c3enpc2014.cs.nccu.edu.tw.
189.162.119.140.IN-ADDR.ARPA name = x620800.cs.nccu.edu.tw.
190.162.119.140.IN-ADDR.ARPA name = office2.cs.nccu.edu.tw.
191.162.119.140.IN-ADDR.ARPA name = jang1.cs.nccu.edu.tw.
192.162.119.140.IN-ADDR.ARPA name = jang2.cs.nccu.edu.tw.
193.162.119.140.IN-ADDR.ARPA name = jang3.cs.nccu.edu.tw.
194.162.119.140.IN-ADDR.ARPA name = raylin.cs.nccu.edu.tw.
195.162.119.140.IN-ADDR.ARPA name = hsu.cs.nccu.edu.tw.
196.162.119.140.IN-ADDR.ARPA name = raylin-ap.cs.nccu.edu.tw.
200.162.119.140.IN-ADDR.ARPA name = mtchi.cs.nccu.edu.tw.
201.162.119.140.IN-ADDR.ARPA name = mtchi-2.cs.nccu.edu.tw.
202.162.119.140.IN-ADDR.ARPA name = mtchi-3.cs.nccu.edu.tw.
209.162.119.140.IN-ADDR.ARPA name = lien-ap.cs.nccu.edu.tw.
210.162.119.140.IN-ADDR.ARPA name = bittern.cs.nccu.edu.tw.
211.162.119.140.IN-ADDR.ARPA name = motion.cs.nccu.edu.tw.
212.162.119.140.IN-ADDR.ARPA name = action.cs.nccu.edu.tw.
213.162.119.140.IN-ADDR.ARPA name = 4f-seminar.cs.nccu.edu.tw.
216.162.119.140.IN-ADDR.ARPA name = 204-AirportExtreme.cs.nccu.edu.tw.
220.162.119.140.IN-ADDR.ARPA name = faith.cs.nccu.edu.tw.
225.162.119.140.IN-ADDR.ARPA name = ghost.cs.nccu.edu.tw. ( a place for cs student to practice )
留言
張貼留言