Assuming the password list generated by john is passwordfile.txt, get the first 1000 entries and output to new_passwordfile.txt like so:
Code:cat passwordfile.txt | head -n 1000 > new_passwordfile.txt
Hi,
I want to create a password wordlist of about lets say 1000 passwords and of length about 15.
I would prefer to use John the Ripper but I don't know how to set it to create only, for example, a 1000 passwords. I do know the length setting and charset setting.
Or would it be better to use another program of some kind?
Thanks.
Assuming the password list generated by john is passwordfile.txt, get the first 1000 entries and output to new_passwordfile.txt like so:
Code:cat passwordfile.txt | head -n 1000 > new_passwordfile.txt
Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".
The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.
Thanks.
Also, how can I randomize the password list when creating it so it won't for example start with?
etc etcCode:00001 00002 00003
Try the following (untested):
Code:cat passwordfile.txt | sort -R | head -n 1000 > new_passwordfile.txt
Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".
The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.
No I mean how can I do that with john the ripper for example or another password list creation program.
I know crunch for example does it 00001, 00002, 00003 etc etc.
You will only accept an answer if its done entirely using a password list creation program??? Why does it matter how the process gets done as long as it gets done?
Did you have some criteria in mind to use in including/excluding items from your arbitrarily sized list that you haven't shared with us?
Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".
The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.