Defining an algorithim - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Ancient Versions (https://hashcat.net/forum/forum-46.html) +--- Forum: Very old oclHashcat-lite Support (https://hashcat.net/forum/forum-22.html) +--- Thread: Defining an algorithim (/thread-2647.html) Pages:
1
2
|
Defining an algorithim - savvamadar15 - 09-26-2013 I need to crack an sha256 hash I know that the encrypted string follows this pattern #-XXXXXXXXXX #= A number generated between 1 and 25 X= Character generated from one of the below abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 So it could be something like this: 20-2lje2ezTvu or 2-wa4tnSoYWB I wrote a code for this in java but that uses CPU and is super slow. Assuming I use hashcat-gui and oclHashcat-lite what exactly do I put in. Anyone interested in the java code: http://pastebin.com/fqddhKjJ Thanks for the help everyone! RE: Defining an algorithim - epixoip - 09-26-2013 what you want to do is a mask attack. http://hashcat.net/wiki/doku.php?id=mask_attack RE: Defining an algorithim - savvamadar15 - 09-26-2013 (09-26-2013, 06:38 AM)epixoip Wrote: what you want to do is a mask attack. As helpful as that was I still don't get how I generate a random number between 1-25. Because it can't be 01,02,03,...,23,24,25. It has to be 1,2,3,...,23,24,25. RE: Defining an algorithim - epixoip - 09-26-2013 break it up and use a different mask for each pass. nothing says you have to do it all at once... -1 ?l?u?d ?d-?1?1?1?1?1?1?1?1?1?1 -1 ?l?u?d 1?d-?1?1?1?1?1?1?1?1?1?1 -1 ?l?u?d -2 12345 2?2-?1?1?1?1?1?1?1?1?1?1 RE: Defining an algorithim - philsmd - 09-26-2013 ... pro tip: with oclHashcat-plus and a .hcmask file you could do it all at once (one run of oclHashcat-plus only ). Code: $ cat my.hcmask RE: Defining an algorithim - savvamadar15 - 09-26-2013 (09-26-2013, 07:06 AM)epixoip Wrote: break it up and use a different mask for each pass. nothing says you have to do it all at once... Thanks, I made a .bat with these parameters: How do I enable all 3 masks? I'm sorry I'm very new with this. RE: Defining an algorithim - savvamadar15 - 09-26-2013 (09-26-2013, 07:28 AM)philsmd Wrote: ... pro tip: with oclHashcat-plus and a .hcmask file you could do it all at once (one run of oclHashcat-plus only ). Sorry but how exactly do I do this> RE: Defining an algorithim - philsmd - 09-26-2013 You can use any text editor you want to create a file called my.hcmask (or whatever you want to call it), put the content I just showed you: Code: ?l?u?d,?d-?1?1?1?1?1?1?1?1?1?1 Code: oclHashcat-plus64.exe --hash-type 1400 --attack-mode 3 --force XXXXb97304ab69679f4XXXX7fa80608cXX5cbec61cb2XXX916d3cXXXa4eabXXX Also please remove the hash you just posted ASAP (see: https://hashcat.net/forum/announcement-2.html , edit the post and e.g replace the hash with this one: XXXXb97304ab69679f4XXXX7fa80608cXX5cbec61cb2XXX916d3cXXXa4eabXXX ) RE: Defining an algorithim - epixoip - 09-26-2013 it wouldn't be worth using plus just for hcmask support due to the performance hit. RE: Defining an algorithim - powderspecial600 - 10-25-2013 Is the plan to add support for hcmask files in lite at some point? |