04-04-2022, 09:06 PM
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 '
(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
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
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
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