We all love using pre-made word lists, but every now and again, i feel like making a change. So, i decided to make a little program that generates passwords from a given set of characters and a given length, and places them into a text file to use. So, let's get on with it!
first, you need to import itertools(this module will do all of the heavy lifting ;))
Here, we are simply setting the needed variables, and using itertools for the password generation.
This writes each different combination of the characters to a line each, to make it easier to use in cracking.
I don't think this is the most effective method of password list generation out there, and personally, i'll stick to the normal lists, but this is a fun little exercise :P
Keep in mind, that although this is quite an effective little bit of code, it can take a really, really, really long time depending on the amount of unique characters and length of the passwords...