WiFi Hacker for Mac OS
Download the WiFi executable file and open it. From that point follow the lead!
Patternato is a class which I wrote for this project, but you might find it useful as well!
action is block pointer which will be called everytime a permutated string is generated and will be passed as an argument
[Patternator generatePatternsFromArray:array length:length action:block];
#import "Patternator.h"
// some code
NSArray *chars = @[@"a", @"b", @"c", @"d", @"e"];
[Patternator generatePatternsFromArray:chars length:2 action:^(NSString *string, BOOL *shouldContinue) {
NSLog(@"%@", string);
string = nil; // it's better for memory reasons to unset the reference
// if this current string is correct and you don't want the process to continue
*shouldContinue = NO;
}];
The above will output the following
aa ab ac ad ae ba bb bc bd be ca cb cc cd ce da db dc dd de ea eb ec ed ee