-
Notifications
You must be signed in to change notification settings - Fork 165
/
Copy pathpassphrase-rule2.rule
98 lines (92 loc) · 1.38 KB
/
passphrase-rule2.rule
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Do Nothing
:
# Add years to end - both with spaces and without
$2$0$1$8
$2$0$1$9
$2$0$2$0
$2$0$2$1
$2$0$2$2
$2$0$2$3
$2$0$1$8$!
$2$0$1$9$!
$2$0$2$0$!
$2$0$2$1$!
$2$0$2$2$!
$2$0$2$3$!
$ $2$0$1$8
$ $2$0$1$9
$ $2$0$2$0
$ $2$0$2$1
$ $2$0$2$2
$ $2$0$2$3
$ $2$0$1$8$!
$ $2$0$1$9$!
$ $2$0$2$0$!
$ $2$0$2$1$!
$ $2$0$2$2$!
$ $2$0$2$3$!
# Add common numbers to the end - both with spaces and without
$1
$1$!
$1$2$3
$1$2$3$!
$ $1
$ $1$!
$ $1$2$3
$ $1$2$3$!
# Add common numbers to the beginning - both with spaces and without (have to do them backwards with a prepend)
^1
^3^2^1
^ ^1
^ ^3^2^1
# Add common punctuation to end
$!
$?
# G3t 133t (just the common ones) across whole phrase
sa@sA@
se3sE3
sl1sL1
so0sO0
ss5sS5
sa@sA@se3sE3so0sO0ss5sS5
sa@sA@$!
se3sE3$!
sl1sL1$!
so0sO0$!
ss5sS5$!
sa@sA@se3sE3so0sO0ss5sS5$!
# Hashcat doesn't support 'nth place'positional replace in rule sets yet.
# So we can say 'replace only the first A with @'
# See: https://hashcat.net/wiki/doku.php?id=rule_based_attack#using_p_nth_instance_of_a_character_with_positional_rules
# So, we are going to make some guesses here.... Sub in l33t characters at positions 1,2,3 and also end with !
# Not a great way to do it, but oh well. Will update in future if feature becomes available.
o1@
o2@
o3@
o13
o23
o33
o11
o21
o31
o10
o20
o30
o15
o25
o35
o1@$!
o2@$!
o3@$!
o13$!
o23$!
o33$!
o11$!
o21$!
o31$!
o10$!
o20$!
o30$!
o15$!
o25$!
o35$!