hashcat Forum

Full Version: Como puedo combinar ?d?ddiccionario?d?d
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hola desde argentina,
tengo un patrón de pass ej: 77azul43
?d?dverde?d?d 
?d?damarillo?d?d 
Como mezclo un diccionario en el medio 
?d midiccionario ?d?d
hello
you will need to generate a rules-list for this, hashcat supports only single hybrid mode (prepend OR append a mask but not both)

but dont be afraid, hashcat will help you doing so
this is for windows, on linux should also work, but maybe you have to switch double quote " with single ones '
Code:
hashcat -a3 --stdout -1"^" ?1?d >> rules.txt
hashcat -a3 --stdout -1"^" ?1?d?1?d >> rules.txt
hashcat -a3 --stdout -1"$" ?1?d >> rules.txt
hashcat -a3 --stdout -1"$" ?1?d?1?d >> rules.txt

(if you want 3 digits, you will need to apply another ?1?d and run again with >> rules.txt)

rules txt will now contain lines like

Code:
^2
^1
^8
^9
1^1
^8^1
^9^1
$3
$6
$7
$2$9
$1$9
$8$9
$9$9

the rules are unsorted, but this doesnt matter

this is a list with rules for prepend and append one to two digits, now we need to combine every rule with every rule using https://github.com/hashcat/hashcat-utils/releases/ combinator

Code:
combinator rules.txt rules.txt >> combined.txt

if you also want the single rules pre or appended, just copy rules.txt to front or end of combined.txt

HINT
please add as first line single char :
: will tell hahscat to do also nothing with provided passes (just for standard)

using hashcat with option -r combined.txt will do your trick now adding and prepending all possibilities of numbers 0-99