Extracting the passwords from a multiple file wordlist (sed & grep).
#8
This thread is brilliant, just what I was hoping for in this section, thanks !

Here's one I have been working on for a while if the regex guru's would care to comment on it ?


I have often wanted to sort the purely random passwords from a password list. I understand they could be genuine passwords but I believe they are less likely.

So... suppose I have this list...

Code:
password123
m00n
bhubgfi12uyti
7y6tghb
letmein
c0d3w0rd
kjoiugc3sy8trsrex

I really only want to keep..

Code:
password123
m00n
letmein
c0d3w0rd

So this requires some sort of logic filter. I at first made a regex like this...
Code:
^[^aeiou]*$

The code above was to remove anything that didn't contain a vowel. This worked surprisingly well but it has it's limitations.

If used on the list above I would lose "m00n" and c0d3w0rd", both good password candidates.

The only thing I can think of is to use something like office spellchecker which somehow tries to match as closely as possible any given text to a word. Then perhaps add some common "leet" terms to catch the modified passwords such as "m00n".

Anyone think of anything smarter than this ?

Thank you.
Reply


Messages In This Thread
RE: Extracting the passwords from a multiple file wordlist (sed & grep). - by Hash-IT - 06-15-2012, 04:15 PM