Last active
August 29, 2015 14:05
-
-
Save hvva/5c00fcba040419c067f4 to your computer and use it in GitHub Desktop.
Brute force generate valid onion addresses: 16 character [a..z][2..7]
This file contains hidden or 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
#!/bin/bash | |
# Brute force generate valid onion addresses: 16 character [a..z][2..7] | |
# 'a' is the left-most character - 'p' is the right most | |
# rtl controls if addresses are enumerated rtl or ltr | |
rtl=0 | |
for a in {{2..7},{a..z}}; do | |
for b in {{2..7},{a..z}}; do | |
for c in {{2..7},{a..z}}; do | |
for d in {{2..7},{a..z}}; do | |
for e in {{2..7},{a..z}}; do | |
for f in {{2..7},{a..z}}; do | |
for g in {{2..7},{a..z}}; do | |
for h in {{2..7},{a..z}}; do | |
for i in {{2..7},{a..z}}; do | |
for j in {{2..7},{a..z}}; do | |
for k in {{2..7},{a..z}}; do | |
for l in {{2..7},{a..z}}; do | |
for m in {{2..7},{a..z}}; do | |
for n in {{2..7},{a..z}}; do | |
for o in {{2..7},{a..z}}; do | |
for p in {{2..7},{a..z}}; do | |
if [ $rtl == "1" ]; then | |
echo "$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$p.onion" | |
else | |
echo "$p$o$n$m$l$k$j$i$h$g$f$e$d$c$b$a.onion" | |
fi | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment