3 ms·
OK, I bit the bullet, scraped all the webpages, and tried all of them in a loop. -- None work. -- Sorry. However, it was interesting to observe that some of
by i336_ 10y ago
OK, I bit the bullet, scraped all the webpages, and tried all of them in a loop.
-- None work. --
Sorry.
However, it was interesting to observe that some of the domains do still actually resolve.
--
Here's the general idea I used (I think this is all of the commands), in case anyone is curious.
$ wget http://www.lights.ca/hytelnet/oth/oth000.html
$ mkdir x
$ cd x
$ wget $(grep -o '<a href=[^>]\+' ../oth000.html |\
sed 's,<a href=,http://www.lights.ca,' |\
grep oth)
$ grep '^TELNET ' * | cut -d' ' -f2 | while IFS=: read -a x; do
echo -n "${x[0]}: ";
dig +noall +answer A ${x[0]} | sed -n '/IN\tA/s/.*IN\tA\t//p' | tr '\n' ' ';
echo; done | tee workingdomains.txt
$ grep '^TELNET ' * | cut -d' ' -f2 | while IFS=: read -a x; do
grep -q "${x[0]}: [^$]" workingdomains.txt || continue; echo "${x[0]}";
ncat -w 5 -v ${x[0]} ${x[1]:-23}; echo ---; done
Not perfect by any means, others will likely have much simpler ideas, but it worked, I guess.
The first grep command spits out the list of working domains and may be of interest.
The command is blind to the three straight IP addresses in the HTML files, which I tested manually (also didn't work) for completeness.