[oclug] named pipes and grep question

Stephen Gregory oclug at kernelpanic.ca
Fri Dec 11 19:01:55 EST 2009


Mike wrote:
> 
> It has taken almost 18 hours for air crack to get to aaabmzqmo so it is a bit 
> slower than the script 

By my math you have brute forced about 35 million keys (35e6) of 5.4e12 
keys (5.4 TeraKeys). At only 2 MegaKeys an hour it is going to take you 
a while to finish. There is a reason why aircrack-ng doesn't have a 
brute force mode for WPA cracking.


> Will nice be enough to adjust the speed?

I don't believe so. IIRC nice doesn't adjust the relative cpu time a 
process is given. Setup properly you mkList script should block (wait) 
for the fifo/pipe to have space when writing.

In this case you don't need a fifo/pipe. just this:

mkList | aircrack-ng -w -


> I've learned that it contains valid english words

Then use the wordlists in /usr/share/dict.


> Any ideas on a grep to remove invalid letter combinations?
>   such as > triple letter combinations  like aaa, ... qqq,  

It is far easier to have the script generate valid keys then to try and 
filter out bad ones. Generating key or password guesses efficiently is 
actually a harder problem.

You should read the "Other Tips" section of this page: 
http://www.aircrack-ng.org/doku.php?id=aircrack-ng



More information about the OCLUG mailing list