08-02-2023, 10:23 PM
Is there a way to do a dictionary attack with an increment, so, say I know the password is 8 characters. Can the dictionary attack go through and only try the 8 letter words in the dictionary? Thanks in advance.
Dictionary Attack with increment
|
08-02-2023, 10:23 PM
Is there a way to do a dictionary attack with an increment, so, say I know the password is 8 characters. Can the dictionary attack go through and only try the 8 letter words in the dictionary? Thanks in advance.
08-02-2023, 10:45 PM
To be fair, there's not a lot on the wiki to answer this specific question.
Some folks would probably either one-time filter the wordlist on the fly with `grep` or similar, or else grep it once and save the results, depending on the size of the wordlist. You can also use `-j` with a rules file that contains `_8` ("_" is a "reject" rule, but only works with `-j` / `-k`). https://hashcat.net/wiki/doku.php?id=rul...ect_plains
~
08-02-2023, 11:56 PM
(08-02-2023, 11:21 PM)royce Wrote: To be fair, there's not a lot on the wiki to answer this specific question. Thank you, I was just looking into grep. I used power shell in windows to Get-Content D:\Wordlist\weakpass_3a | Select-String "^.{8}$" > 8_letter_words.txt and it's currently compiling the list of 8 letters saving to file. I will def look into the other option you offered. -j. I appreciate your help and leads you have given me. I'm new to hashcat and looking to explore all its capabilities and the like. Thanks again
08-03-2023, 04:50 PM
(08-02-2023, 10:45 PM)marc1n Wrote: https://hashcat.net/wiki/ Thank you.
08-03-2023, 09:22 PM
(08-02-2023, 11:21 PM)royce Wrote: To be fair, there's not a lot on the wiki to answer this specific question. I've updated the command, as it was choosing 8 characters, but it was also choosing 9 and up characters as well, so the modified command is below, just in case someone else is trying to do something similar you can pass it on. Get-Content D:\Wordlist\all_in_one_p | Where-Object { $_.Length -eq 8 } > 8_letter_words.txt (ruining under windows Power Shell will only choose 8 characters, just change D:\Wordlist\all_in_one_p where your wordlist is currently and the words.txt output will be under C:\Users\your pc name here\ )
08-03-2023, 09:32 PM
Ah, I totally forgot - hashcat-utils 'len' utility also supports this, efficiently.
~
08-03-2023, 10:15 PM
|
« Next Oldest | Next Newest »
|