Last active
December 25, 2015 12:09
-
-
Save michenriksen/6974484 to your computer and use it in GitHub Desktop.
The Freenode IRC network supports connections via Tor hidden service URL's which provides solid anonymity and security, but unfortunately the hosts are a little flaky and you will have to regularly switch out the host. This simple shell script makes it easy to figure out which ones are alive. Note: The scripts assumes that Torsocks (https://code…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hosts=( p4fsi4ockecnea7l.onion lgttsalmpw3qo4no.onion 5jebommkgbfl6agc.onion lbkwyb2csfcgoxwa.onion ) | |
for i in "${hosts[@]}" | |
do | |
torsocks 2>&1 > /dev/null nc -w5 $i 6667 2>&1 > /dev/null && echo " ✔ $i is alive!" || echo " ✖ $i seems dead." | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment