hashcat Forum
help with command! - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Developer (https://hashcat.net/forum/forum-39.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-40.html)
+--- Thread: help with command! (/thread-10765.html)



help with command! - koki90 - 05-07-2022

im try crack with mask attack  with this command  hashcat.exe -m 22000 hash.hc22000 -a 3 --increment --increment-min 11 --increment-max 11 01?d?d?d?d?d?d?d?d?d?    its all numbers start with 01  my qustion is i want add before 01 this star (*) to be like this *01   and in the end anther (*) so fo exmple the password will be like this *01098456178*  i dont know what is the command  to do that can you plz help me i try it this one  hashcat.exe -m 22000 hash.hc22000 -a 3 --increment --increment-min 11 --increment-max 11 *01?d?d?d?d?d?d?d?d?d?*  but not work !
agine guys im not want put ?s cuz i want specific symbol like * or like @ or like #  I hope you guys understand me
best regards


RE: help with command! - marc1n - 05-08-2022

-i --increment --increment-min 13 --increment-max 13 *01?d?d?d?d?d?d?d?d?d*

https://hashcat.net/wiki/doku.php?id=mask_attack


RE: help with command! - Snoopy - 05-09-2022

Or

please use maskfiles for that, instead of providing the mask directly on the command line, special chars like * have mostly some hidden meanings on commandline

so put this line (you had also one typo, missing the last d or was ther the last ? to much?) plz check

Code:
*01?d?d?d?d?d?d?d?d?d?d*

inside a file called mask.txt
and start hashcat with

Code:
hashcat -a3 -O --stdout mask.txt

you will see generated passes like you wanted


Code:
*011076869999*
*010076869999*
*019076869999*
*014076869999*
*013076869999*
*018076869999*
*015076869999*


each line in this maskfile is one mask, so by modifying the mask.txt to


Code:
*01?d?d?d?d?d?d?d?d?d?d*

**01?d?d?d?d?d?d?d?d?d?d**


hashcat will first produce passes with 1 * appended/prependen
second line will do the some but with 2 **

you dont need the increment and min max flag, your command line will be

Code:
hashcat.exe -m22000 -a3 -O hash.hc22000 mask.txt