If you are sure that the password length is just 10 and only 4 "random" chars, you could also use this approach. First, generate a dict (yes, this is normally not advicable, but for very small random dicts it sometimes makes sense):
create a new rule file like this one:
(pro tip: you could also use multi rules, e.g. 2 time the "-r" parameter, one time for the insert rules and one time for the prepend rule, but it's small enough here to fit within a few lines)
and run it like this:
(and yes, you could also pipe it... the speed shouldn't change at all, since we are talking about a pretty "slow" hash mode)
update: I just realized that your explanation also could mean that the character 1, the character 2 und the character 3 are positioned not in order and next to each other. It wasn't really clear from your description (examples are always helpful to eliminate these doubts).
Anyways, to have the characters 1, 2 and 3 randomly positioned within the password candidate, you could use this alternative rule file (generated by maskprocessor with mp64.bin -1 01234 -2 012345 -3 0123456 'i?11 i?22 i?33 ^c ^b ^a')
Code:
mp64.bin ?a?a?a?a > dict.txt
create a new rule file like this one:
Code:
i01 i12 i23 ^c ^b ^a
i11 i22 i33 ^c ^b ^a
i21 i32 i43 ^c ^b ^a
i31 i42 i53 ^c ^b ^a
i41 i52 i63 ^c ^b ^a
and run it like this:
Code:
hashcat -m 12700 -a 0 -w3 -r my.rule blockchain.hash dict.txt
(and yes, you could also pipe it... the speed shouldn't change at all, since we are talking about a pretty "slow" hash mode)
update: I just realized that your explanation also could mean that the character 1, the character 2 und the character 3 are positioned not in order and next to each other. It wasn't really clear from your description (examples are always helpful to eliminate these doubts).
Anyways, to have the characters 1, 2 and 3 randomly positioned within the password candidate, you could use this alternative rule file (generated by maskprocessor with mp64.bin -1 01234 -2 012345 -3 0123456 'i?11 i?22 i?33 ^c ^b ^a')
Code:
i01 i02 i03 ^c ^b ^a
i01 i02 i13 ^c ^b ^a
i01 i02 i23 ^c ^b ^a
i01 i02 i33 ^c ^b ^a
i01 i02 i43 ^c ^b ^a
i01 i02 i53 ^c ^b ^a
i01 i02 i63 ^c ^b ^a
i01 i12 i03 ^c ^b ^a
i01 i12 i13 ^c ^b ^a
i01 i12 i23 ^c ^b ^a
i01 i12 i33 ^c ^b ^a
i01 i12 i43 ^c ^b ^a
i01 i12 i53 ^c ^b ^a
i01 i12 i63 ^c ^b ^a
i01 i22 i03 ^c ^b ^a
i01 i22 i13 ^c ^b ^a
i01 i22 i23 ^c ^b ^a
i01 i22 i33 ^c ^b ^a
i01 i22 i43 ^c ^b ^a
i01 i22 i53 ^c ^b ^a
i01 i22 i63 ^c ^b ^a
i01 i32 i03 ^c ^b ^a
i01 i32 i13 ^c ^b ^a
i01 i32 i23 ^c ^b ^a
i01 i32 i33 ^c ^b ^a
i01 i32 i43 ^c ^b ^a
i01 i32 i53 ^c ^b ^a
i01 i32 i63 ^c ^b ^a
i01 i42 i03 ^c ^b ^a
i01 i42 i13 ^c ^b ^a
i01 i42 i23 ^c ^b ^a
i01 i42 i33 ^c ^b ^a
i01 i42 i43 ^c ^b ^a
i01 i42 i53 ^c ^b ^a
i01 i42 i63 ^c ^b ^a
i01 i52 i03 ^c ^b ^a
i01 i52 i13 ^c ^b ^a
i01 i52 i23 ^c ^b ^a
i01 i52 i33 ^c ^b ^a
i01 i52 i43 ^c ^b ^a
i01 i52 i53 ^c ^b ^a
i01 i52 i63 ^c ^b ^a
i11 i02 i03 ^c ^b ^a
i11 i02 i13 ^c ^b ^a
i11 i02 i23 ^c ^b ^a
i11 i02 i33 ^c ^b ^a
i11 i02 i43 ^c ^b ^a
i11 i02 i53 ^c ^b ^a
i11 i02 i63 ^c ^b ^a
i11 i12 i03 ^c ^b ^a
i11 i12 i13 ^c ^b ^a
i11 i12 i23 ^c ^b ^a
i11 i12 i33 ^c ^b ^a
i11 i12 i43 ^c ^b ^a
i11 i12 i53 ^c ^b ^a
i11 i12 i63 ^c ^b ^a
i11 i22 i03 ^c ^b ^a
i11 i22 i13 ^c ^b ^a
i11 i22 i23 ^c ^b ^a
i11 i22 i33 ^c ^b ^a
i11 i22 i43 ^c ^b ^a
i11 i22 i53 ^c ^b ^a
i11 i22 i63 ^c ^b ^a
i11 i32 i03 ^c ^b ^a
i11 i32 i13 ^c ^b ^a
i11 i32 i23 ^c ^b ^a
i11 i32 i33 ^c ^b ^a
i11 i32 i43 ^c ^b ^a
i11 i32 i53 ^c ^b ^a
i11 i32 i63 ^c ^b ^a
i11 i42 i03 ^c ^b ^a
i11 i42 i13 ^c ^b ^a
i11 i42 i23 ^c ^b ^a
i11 i42 i33 ^c ^b ^a
i11 i42 i43 ^c ^b ^a
i11 i42 i53 ^c ^b ^a
i11 i42 i63 ^c ^b ^a
i11 i52 i03 ^c ^b ^a
i11 i52 i13 ^c ^b ^a
i11 i52 i23 ^c ^b ^a
i11 i52 i33 ^c ^b ^a
i11 i52 i43 ^c ^b ^a
i11 i52 i53 ^c ^b ^a
i11 i52 i63 ^c ^b ^a
i21 i02 i03 ^c ^b ^a
i21 i02 i13 ^c ^b ^a
i21 i02 i23 ^c ^b ^a
i21 i02 i33 ^c ^b ^a
i21 i02 i43 ^c ^b ^a
i21 i02 i53 ^c ^b ^a
i21 i02 i63 ^c ^b ^a
i21 i12 i03 ^c ^b ^a
i21 i12 i13 ^c ^b ^a
i21 i12 i23 ^c ^b ^a
i21 i12 i33 ^c ^b ^a
i21 i12 i43 ^c ^b ^a
i21 i12 i53 ^c ^b ^a
i21 i12 i63 ^c ^b ^a
i21 i22 i03 ^c ^b ^a
i21 i22 i13 ^c ^b ^a
i21 i22 i23 ^c ^b ^a
i21 i22 i33 ^c ^b ^a
i21 i22 i43 ^c ^b ^a
i21 i22 i53 ^c ^b ^a
i21 i22 i63 ^c ^b ^a
i21 i32 i03 ^c ^b ^a
i21 i32 i13 ^c ^b ^a
i21 i32 i23 ^c ^b ^a
i21 i32 i33 ^c ^b ^a
i21 i32 i43 ^c ^b ^a
i21 i32 i53 ^c ^b ^a
i21 i32 i63 ^c ^b ^a
i21 i42 i03 ^c ^b ^a
i21 i42 i13 ^c ^b ^a
i21 i42 i23 ^c ^b ^a
i21 i42 i33 ^c ^b ^a
i21 i42 i43 ^c ^b ^a
i21 i42 i53 ^c ^b ^a
i21 i42 i63 ^c ^b ^a
i21 i52 i03 ^c ^b ^a
i21 i52 i13 ^c ^b ^a
i21 i52 i23 ^c ^b ^a
i21 i52 i33 ^c ^b ^a
i21 i52 i43 ^c ^b ^a
i21 i52 i53 ^c ^b ^a
i21 i52 i63 ^c ^b ^a
i31 i02 i03 ^c ^b ^a
i31 i02 i13 ^c ^b ^a
i31 i02 i23 ^c ^b ^a
i31 i02 i33 ^c ^b ^a
i31 i02 i43 ^c ^b ^a
i31 i02 i53 ^c ^b ^a
i31 i02 i63 ^c ^b ^a
i31 i12 i03 ^c ^b ^a
i31 i12 i13 ^c ^b ^a
i31 i12 i23 ^c ^b ^a
i31 i12 i33 ^c ^b ^a
i31 i12 i43 ^c ^b ^a
i31 i12 i53 ^c ^b ^a
i31 i12 i63 ^c ^b ^a
i31 i22 i03 ^c ^b ^a
i31 i22 i13 ^c ^b ^a
i31 i22 i23 ^c ^b ^a
i31 i22 i33 ^c ^b ^a
i31 i22 i43 ^c ^b ^a
i31 i22 i53 ^c ^b ^a
i31 i22 i63 ^c ^b ^a
i31 i32 i03 ^c ^b ^a
i31 i32 i13 ^c ^b ^a
i31 i32 i23 ^c ^b ^a
i31 i32 i33 ^c ^b ^a
i31 i32 i43 ^c ^b ^a
i31 i32 i53 ^c ^b ^a
i31 i32 i63 ^c ^b ^a
i31 i42 i03 ^c ^b ^a
i31 i42 i13 ^c ^b ^a
i31 i42 i23 ^c ^b ^a
i31 i42 i33 ^c ^b ^a
i31 i42 i43 ^c ^b ^a
i31 i42 i53 ^c ^b ^a
i31 i42 i63 ^c ^b ^a
i31 i52 i03 ^c ^b ^a
i31 i52 i13 ^c ^b ^a
i31 i52 i23 ^c ^b ^a
i31 i52 i33 ^c ^b ^a
i31 i52 i43 ^c ^b ^a
i31 i52 i53 ^c ^b ^a
i31 i52 i63 ^c ^b ^a
i41 i02 i03 ^c ^b ^a
i41 i02 i13 ^c ^b ^a
i41 i02 i23 ^c ^b ^a
i41 i02 i33 ^c ^b ^a
i41 i02 i43 ^c ^b ^a
i41 i02 i53 ^c ^b ^a
i41 i02 i63 ^c ^b ^a
i41 i12 i03 ^c ^b ^a
i41 i12 i13 ^c ^b ^a
i41 i12 i23 ^c ^b ^a
i41 i12 i33 ^c ^b ^a
i41 i12 i43 ^c ^b ^a
i41 i12 i53 ^c ^b ^a
i41 i12 i63 ^c ^b ^a
i41 i22 i03 ^c ^b ^a
i41 i22 i13 ^c ^b ^a
i41 i22 i23 ^c ^b ^a
i41 i22 i33 ^c ^b ^a
i41 i22 i43 ^c ^b ^a
i41 i22 i53 ^c ^b ^a
i41 i22 i63 ^c ^b ^a
i41 i32 i03 ^c ^b ^a
i41 i32 i13 ^c ^b ^a
i41 i32 i23 ^c ^b ^a
i41 i32 i33 ^c ^b ^a
i41 i32 i43 ^c ^b ^a
i41 i32 i53 ^c ^b ^a
i41 i32 i63 ^c ^b ^a
i41 i42 i03 ^c ^b ^a
i41 i42 i13 ^c ^b ^a
i41 i42 i23 ^c ^b ^a
i41 i42 i33 ^c ^b ^a
i41 i42 i43 ^c ^b ^a
i41 i42 i53 ^c ^b ^a
i41 i42 i63 ^c ^b ^a
i41 i52 i03 ^c ^b ^a
i41 i52 i13 ^c ^b ^a
i41 i52 i23 ^c ^b ^a
i41 i52 i33 ^c ^b ^a
i41 i52 i43 ^c ^b ^a
i41 i52 i53 ^c ^b ^a
i41 i52 i63 ^c ^b ^a