-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrack_t1.js
36 lines (35 loc) · 923 Bytes
/
crack_t1.js
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
function (context, args) { // t:#s.username.loc
var target = args.t,
res = target.call({}),
p = ["unlock", "open", "release"],
i = 0;
if (#s.scripts.get_level({name:target}) !="LOWSEC" && res.indexOf("EZ_21") > -1) {
while (res.indexOf("UNLOCKED") === -1) {
var res = target.call ({ez_21: p[i]});
i++;
}
}
if (res.indexOf("EZ_35") > -1) {
while (res.indexOf("digit") === -1) {
var res = target.call ({ez_35: p[i]}), p2 = p[i];
i++;
}
i = 0;
while (res.indexOf("UNLOCKED") === -1) {
var res = target.call ({ez_35: p2, digit:i});
i++;
}
}
if (res.indexOf("EZ_40") > -1) {
while (res.indexOf("ez_prime") === -1) {
var res = target.call ({ez_40: p[i]}), p2 = p[i];
i++;
}
i = 2;
while (res.indexOf("UNLOCKED") === -1) {
var res = target.call ({ez_40: p2, ez_prime:i});
i++;
}
return res;
}
}