So you could use python to generate all possible combinations using itertools.permutation
import itertools
res = itertools.permutations('abc',3) # 3 is the length of your result.
for i in res:
print ''.join(i)
where 'abc'
is a string of possible characters. Note that a and A are not the same!
This will output:
abc
acb
bac
bca
cab
cba
Edit (thanks to @buherator):
If you want repeated letters (e.g. aaa, etc), you need to use itertools.product
instead. For instance,
import itertools
res = itertools.product('abc', repeat=3) # 3 is the length of your result.
for i in res:
print ''.join(i)
This will output:
aaa
aab
aac
aba
abb
abc
aca
acb
acc
baa
bab
bac
bba
bbb
bbc
bca
bcb
bcc
caa
cab
cac
cba
cbb
cbc
cca
ccb
ccc