02-05-2015, 12:11 PM
(02-04-2015, 05:42 PM)justme Wrote: I wonder now how duplicates are handled in prince? For example, for a 4 char keyspace we have: abc+d == ab+cd == a+bcd, etc.
Note that prince is not automatically brute-force. It needs to have a wordlist that contains such 1-letter words to make it one. Still, there are dupes generated. Prince can not handle those cases without loosing so much speed that it would not make any sense anymore.
However if you use prince as it is suggested (using an ordered real-life wordlist) those are extremely rare. Here are some numbers, you can reproduce at home:
Quote:root@et:~/princeprocessor/src# head -1000 /root/dict/untouched/rockyou.txt | ./pp64.bin | wc -l
11074511
root@et:~/princeprocessor/src# head -1000 /root/dict/untouched/rockyou.txt | ./pp64.bin | LC_ALL=C sort -u | wc -l
11068038
In other words, only 1/1710 is a dupe.