OT: password/passphrase generation

ir0nkid at linuxjunkies.com ir0nkid at linuxjunkies.com
Thu Jun 12 00:23:57 CDT 2003


> ...and:
>
>
> 9 = G (g)
> 7 = T
> 5 = S
> 4 = A
> 3 = E
> 1 = I or L
>
> Using these combinations lets the world know you be hax0r 31337... ;-)

here is a l337 script that i worked on awhile back, works well with
/usr/share/dict/*

#
# this tool is being created to help expand wordlists to contain
# 313370 styly characters, and add them to the list....
# .. this will soon be incorporated with the ability to take any file
# e.g. not just a wordlist.. and it will take that file and make it a
# wordlist, and then run this tool against it..
#
# for educational purposes only
#

cp $1 $1.old

#
# duplicate characters need to go first
# even if i had to move a special char
# group (!) up..
#

sed -e 's/[Aa]/4/g' $1 | grep "4" >> $1
sed -e 's/[Aa]/@/g' $1 | grep "\@" >> $1
sed -e 's/[Ii]/1/g' $1 | grep "1" >> $1
sed -e 's/[Ii]/!/g' $1 | grep "\!" >> $1
sed -e 's/[Ll]/1xxxx/g' $1 | grep "1xxxx" >> $1
sed -e 's/[Ll]/!xxxx/g' $1 | grep "\!xxxx" >> $1
# need to remove the 'xxxx'
sed -e 's/1xxxx/1/g' $1 > $1.tmp0
sed -e 's/!xxxx/!/g' $1.tmp0 > $1

rm $1.tmp0

sed -e 's/[Oo]/0/g' $1 | grep "0" >> $1
sed -e 's/[Ee]/3/g' $1 | grep "3" >> $1
sed -e 's/[Tt]/7/g' $1 | grep "7" >> $1
sed -e 's/[Bb]/8/g' $1 | grep "8" >> $1
sed -e 's/g/9/g' $1 | grep "9" >> $1
sed -e 's/G/6/g' $1 | grep "6" >> $1

sed -e 's/[Ss]/$/g' $1 | grep "\$" >> $1

#(i was having probs w/ duplicates)
sort -f $1 | uniq > $1.1337
mv $1.old $1

#
# TODO: take full list and add each word in reverse
# append/insert known characters (!,#,;) at beginning/end
# of each word .. this could get to be a really big list ;)
#

echo "not sure, but check " $1".1337 for changes"




More information about the Kclug mailing list