Can't workout why my mask isn't working. - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Ancient Versions (https://hashcat.net/forum/forum-46.html) +--- Forum: Very old oclHashcat-plus Support (https://hashcat.net/forum/forum-23.html) +--- Thread: Can't workout why my mask isn't working. (/thread-1182.html) |
Can't workout why my mask isn't working. - AutomaticCoding - 05-17-2012 Using hashcat-GUI, first I may want to note it's sort of annoying that it doesn't exit CMD after it's done. Yes, I understand it doesn't using a bat file, etc, but it's annoying. Next, reason why I posted in this forum is it's generating these arguments: Code: cudaHashcat-plus64.exe --attack-mode 3 --remove --outfile C:\Users\Nicholas\Desktop\file.txt.out --outfile-format 2 C:\Users\Nicholas\Desktop\file.txt ?uld?uld?uld?uld?uld?uld What I presume each one does: -attack-mode 3 == bruteforce --remove == remove hashes from file.txt when found --outfile C:\-snip-\file.txt.out == output file to dump found hashes to --output-file format 2 == plain C:\-snip-\file.txt == file full of hashes ?uld?uld?uld?uld?uld?uld - Mask Now, what I want: 6 letters, [A-Z0-9a-z]. If I have something like "Hi" in the file, and I do: ?u?l it works fine. But if I have "Hi" in the file and do: ?ul?ul it does nothing. My file.txt: Code: c1a5298f939e87e8f962a5edfc206918 Correct hashes in order: Code: <?php Yes, I realize none of them are six characters and they're all five, but, better safe than sorry. (It does go up 1-6, right? Not just only scan 6?) RE: Can't workout why my mask isn't working. - blaz - 05-17-2012 you need to set them all in the one form, ie -1 ?l?u?d ?1?1?1?1?1?1 cudaHashcat-plus64.exe --attack-mode 3 --remove --outfile C:\Users\Nicholas\Desktop\file.txt.out --outfile-format 2 -1 ?u?l?d C:\Users\Nicholas\Desktop\file.txt ?1?1?1?1?1?1 in plus it only runs the length you input, so for the command above it will only run for length 6, it does increment automatically in lite RE: Can't workout why my mask isn't working. - AutomaticCoding - 05-17-2012 (05-17-2012, 11:39 AM)blaz Wrote: you need to set them all in the one form, ie -1 ?l?u?d ?1?1?1?1?1?1 Hey presto! It works. But, in length I notice it doesn't allow bruteforcing? Only "Rules". I may look into that later, but at the moment I'll just do: String args = "cudaHashcat-plus64.exe --attack-mode 3 --custom-charset1 ?l?u?d --outfile C:\Users\Nicholas\Desktop\file.txt.out --outfile-format 2 C:\Users\Nicholas\Desktop\file.txt "; for(int i = 1; i < MAXCHARCTERS; i++) { args += "?1"; } startProcess(args); Or something. Thanks dude RE: Can't workout why my mask isn't working. - atom - 05-17-2012 these ?1 are masks not rules. rules are something complete different. https://hashcat.net/wiki/mask_attack https://hashcat.net/wiki/rule_based_attack |