I need help with syntax - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html) +--- Forum: Old oclHashcat Support (https://hashcat.net/forum/forum-38.html) +--- Thread: I need help with syntax (/thread-3668.html) |
I need help with syntax - Quest - 09-12-2014 I'm new to ocl/cudaHashcat and I'm looking to build a syntax that would cover certain criteria. A capture.hccap is the target. I'm using cudaHashcat 1.30 | The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali). - Markov Chains(statsprocessor). - 8 to 10 character long. - first character a Capitalized letter. - last two characters are numbers. =: Orange67, Carbon14,.. If some of you can help me getting started it would be appreciated =] RE: I need help with syntax - philsmd - 09-12-2014 See http://hashcat.net/wiki/doku.php?id=mask_attack Your command will look something like this: length 8 Code: ./oclHashcat -w 3 -m 2500 capture.hccap -a 3 ?u?a?a?a?a?a?d?d Code: ./oclHashcat -w 3 -m 2500 capture.hccap -a 3 ?u?a?a?a?a?a?a?d?d Code: ./oclHashcat -w 3 -m 2500 capture.hccap -a 3 ?u?a?a?a?a?a?a?a?d?d OclHashcat also supports maskfiles ( see http://hashcat.net/wiki/doku.php?id=mask_attack#hashcat_mask_files ). This means that you can put all 3 masks into a *.hcmask file and let oclHashcat loop through all masks. Content of the my.hcmask file would look something like this: Code: ?u?a?a?a?a?a?d?d Now you can run oclHashcat with this new .hcmask like follows: Code: ./oclHashcat -w 3 -m 2500 capture.hccap -a 3 my.hcmask Note: I assumed here that between the uppercase and the digits can be every special character, lower case char, upper case char and digit, see http://hashcat.net/wiki/doku.php?id=mask_attack for full explanation of the predefined charset and if you need build your own charset, see http://hashcat.net/wiki/doku.php?id=mask_attack#custom_charsets RE: I need help with syntax - Quest - 09-12-2014 =] Thank you Phil! 2 more questions.. - Markov Chains(statsprocessor) will automatically kick in right? - How can I verify the output(generated character set) to actually see the resulting words? RE: I need help with syntax - coolbry95 - 09-12-2014 (09-12-2014, 04:11 PM)Quest Wrote: =] Thank you Phil! it uses markov but you can explicitly set a threshold with -t you can see the output using the maskprocessor executable from hashcat-utils RE: I need help with syntax - Quest - 09-12-2014 Hi coolbry! I do not have a "maskprocessor" executable from hashcat-utils folder ( /usr/share/hashcat-utils )!? I've also checked in the /usr/share/cudahashcat directory. Why would I want to set a threshold? I feel uncomfortable being so ignorant, but I've been searching and reading for 2 days without progress. All I can do is ask questions to wrap my brain around this. Thanks RE: I need help with syntax - Quest - 09-13-2014 Hi all, so I'm having 2 basic problems. - Markov Chains doesn't seem to 'kick in' when I use a syntax without a mask. - Then when I try to use a mask, cudaHashcat starts, but doesn't do anything and stops after a few seconds. Code: root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# cd /usr/share/cudahashcat/ && ./cudaHashcat64.bin -w 3 -m 2500 /root/capture.hccap -a 3 rockyou-1-60.hcmask could someone educate me? RE: I need help with syntax - epixoip - 09-13-2014 oclHashcat always uses Markov by default everywhere a mask is used, unless you explicitly disable it via the '--markov-disable' switch. You have a syntax error in the command that you shared. You are not providing the path to "rockyou-1-60.hcmask", and since this file does not exist in the working directory, oclHashcat thinks that it is a 19-character mask. That is why the progress says "1/1" and it completes instantly. Further, the rockyou hcmask files will not work well for WPA since WPA has a minimum length requirement of 8 characters, and rockyou had no password complexity requirements. RE: I need help with syntax - Quest - 09-13-2014 of course! *slap face* Slowly unconfusing myself here. Thank you =] How can it takes an estimated 44 days, 16 hours, when my .hcmask only contain one line( ?u?l?l?l?l?l?d?d )..? Is there really that many combinations, one Upercase | five lowercases | two numbers ? Code: root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# cd /usr/share/cudahashcat/ && ./cudaHashcat64.bin -w 3 -m 2500 /root/capture.hccap -a 3 /usr/share/cudahashcat/masks/my.hcmask doesn't look right to me. RE: I need help with syntax - atom - 09-13-2014 It's correct.. 26^6 + 10^2 = 30891577600 combinations. you do 8376 per second = 3688106 seconds Your GPU sucks RE: I need help with syntax - Quest - 09-13-2014 Hey atom himself!! Thank you sir for all the work!! hahaha yes it would appear that my GPU sucks. At least there is nothing wrong with my syntax, so I'm not too depressed with the results. I came here to learn. Hardware can be bought. I'm still not clear on the mechanic of it all. I was under the impression that 'Markov Chains' would drastically reduce the number of 'words' generated, and therefore reduce the proceeding time compared to brutforce. Is "26^6 + 10^2 = 30891577600 combinations", Markov or brutforce? |