hashcat Forum
Generating wordlist using specific charlist with exclusions - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: Generating wordlist using specific charlist with exclusions (/thread-7303.html)



Generating wordlist using specific charlist with exclusions - Kangaroot - 02-14-2018

Not pretending to be unique in my inquiry, but I have specific task to do. How can I generate word list using specific char list and applying multiple rules or exclusions?

For example:

Charlist = ?l?l?l?l?l?l?l?l
Rules/Exclusions:

• each character cannot appear more than 3 times
• no 3 characters in a row can be identical
• no 3 characters in a row can be sequential (abc)
• no 3 characters in a row can be reverse sequential (cba)
• character 2 is not equal to character 1
• character 2 is not +1 to character 1
• character 2 is not +2 to character 1


Please advise!


RE: Generating wordlist using specific charlist with exclusions - atom - 02-15-2018

Hashcat does not support that. You need to write a specialized candidate generator to do that.


RE: Generating wordlist using specific charlist with exclusions - Kangaroot - 02-16-2018

(02-15-2018, 02:00 PM)atom Wrote: Hashcat does not support that. You need to write a specialized candidate generator to do that.

Thanks.


RE: Generating wordlist using specific charlist with exclusions - royce - 02-17-2018

Be sure to also do the math to calculate how many password candidates these rules will eliminate compared the speed of your attack. Some of the rules you're describing won't reduce the keyspace very much, and wouldn't be worth the effort compared to to expected time to exhaust the keyspace.

In other words, some rules that would be implemented by a specialized generator are probably only worth the effort if it's a pretty slow hash.


RE: Generating wordlist using specific charlist with exclusions - Kangaroot - 02-21-2018

royce, that is really good advice, I didn't think about it from this perspective, thank you.


RE: Generating wordlist using specific charlist with exclusions - SebastianG33 - 02-21-2018

(02-17-2018, 07:31 PM)royce Wrote: Be sure to also do the math to calculate how many password candidates these rules will eliminate compared the speed of your attack. Some of the rules you're describing won't reduce the keyspace very much, and wouldn't be worth the effort compared to to expected time to exhaust the keyspace.

In other words, some rules that would be implemented by a specialized generator are probably only worth the effort if it's a pretty slow hash.

Very true.


RE: Generating wordlist using specific charlist with exclusions - Kangaroot - 02-22-2018

Please suggest powerful word list generators that can manage exclusions/rules.


RE: Generating wordlist using specific charlist with exclusions - royce - 02-22-2018

I'm not aware of anything dedicated that would natively provide a way to express the rules you described in the original question.

At that point, you're basically looking at using python, perl, etc. to do it. From people I've talked to, perl is quite fast for this purpose if done right.


RE: Generating wordlist using specific charlist with exclusions - Kangaroot - 02-22-2018

Haven’t practiced programming for a while, might take me a while to write this.