mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-01 04:12:44 +00:00
Adding RULE_OP_MANGLE_NUM_INCR to src/rp.c
This commit is contained in:
parent
e0675f2425
commit
492f8b0d6d
5
src/rp.c
5
src/rp.c
@ -31,6 +31,7 @@ static const char grp_op_nop[] =
|
|||||||
RULE_OP_MANGLE_SWITCH_LAST,
|
RULE_OP_MANGLE_SWITCH_LAST,
|
||||||
RULE_OP_MANGLE_DUPECHAR_ALL,
|
RULE_OP_MANGLE_DUPECHAR_ALL,
|
||||||
RULE_OP_MANGLE_TITLE,
|
RULE_OP_MANGLE_TITLE,
|
||||||
|
RULE_OP_MANGLE_NUM_INCR,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char grp_op_pos_p0[] =
|
static const char grp_op_pos_p0[] =
|
||||||
@ -284,6 +285,10 @@ int cpu_rule_to_kernel_rule (char *rule_buf, u32 rule_len, kernel_rule_t *rule)
|
|||||||
SET_NAME (rule, rule_buf[rule_pos]);
|
SET_NAME (rule, rule_buf[rule_pos]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case RULE_OP_MANGLE_NUM_INCR:
|
||||||
|
SET_NAME (rule, rule_buf[rule_pos]);
|
||||||
|
break;
|
||||||
|
|
||||||
case RULE_OP_MANGLE_TOGGLE_AT:
|
case RULE_OP_MANGLE_TOGGLE_AT:
|
||||||
SET_NAME (rule, rule_buf[rule_pos]);
|
SET_NAME (rule, rule_buf[rule_pos]);
|
||||||
SET_P0_CONV (rule, rule_buf[rule_pos]);
|
SET_P0_CONV (rule, rule_buf[rule_pos]);
|
||||||
|
Loading…
Reference in New Issue
Block a user