-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
81 lines (76 loc) · 2.66 KB
/
Copy pathconfig.js
File metadata and controls
81 lines (76 loc) · 2.66 KB
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
const config = {
"prset": "High obfuscation, low performance", // chose your own preset you can chose custom and edit the custom section below
"settings": {
"High obfuscation, low performance": {
"target": "node",
"preset": "high",
"calculator": true,
"compact": true,
"hexadecimalNumbers": true,
"controlFlowFlattening": 0.5,
"deadCode": 0.25,
"dispatcher": true,
"duplicateLiteralsRemoval": 0.75,
"flatten": true,
"globalConcealing": true,
"identifierGenerator": "randomized",
"minify": true,
"movedDeclarations": true,
"objectExtraction": true,
"opaquePredicates": 0.75,
"renameVariables": true,
"renameGlobals": true,
"shuffle": true,
"variableMasking": 0.75,
"stringConcealing": true,
"stringCompression": true,
"stringEncoding": true,
"stringSplitting": 0.75,
"astScrambler": true,
"pack": true
},
"Medium obfuscation, optimal performance": {
"target": "node",
"preset": "medium",
"calculator": true,
"compact": true,
"hexadecimalNumbers": true,
"controlFlowFlattening": 0.25,
"deadCode": 0.1,
"dispatcher": 0.5,
"duplicateLiteralsRemoval": 0.5,
"globalConcealing": true,
"identifierGenerator": "randomized",
"minify": true,
"movedDeclarations": true,
"objectExtraction": true,
"renameVariables": true,
"renameGlobals": true,
"shuffle": true,
"variableMasking": 0.5,
"stringConcealing": true,
"stringSplitting": 0.25,
"astScrambler": true,
"pack": true
},
"Low obfuscation, High performance": {
"target": "node",
"preset": "low",
"calculator": true,
"compact": true,
"hexadecimalNumbers": true,
"deadCode": 0.05,
"dispatcher": 0.25,
"duplicateLiteralsRemoval": 0.5,
"identifierGenerator": "randomized",
"minify": true,
"movedDeclarations": true,
"objectExtraction": true,
"renameVariables": true,
"renameGlobals": true,
"stringConcealing": true,
"astScrambler": true
}
}
}
module.exports = config