Skip to content

Commit ae3aea6

Browse files
committed
Added new presets
1 parent e6cf3df commit ae3aea6

File tree

1 file changed

+125
-4
lines changed

1 file changed

+125
-4
lines changed

src/presets.lua

Lines changed: 125 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,128 @@ return {
2121

2222
}
2323
};
24+
["Vm"] = {
25+
-- The default LuaVersion is Lua51
26+
LuaVersion = "Lua51";
27+
-- For minifying no VarNamePrefix is applied
28+
VarNamePrefix = "";
29+
-- Name Generator for Variables that look like this: IlI1lI1l
30+
NameGenerator = "MangledShuffled";
31+
-- No pretty printing
32+
PrettyPrint = false;
33+
-- Seed is generated based on current time
34+
Seed = 0;
35+
-- Obfuscation steps
36+
Steps = {
37+
{
38+
Name = "Vmify";
39+
Settings = {
40+
41+
};
42+
},
43+
{
44+
Name = "WrapInFunction";
45+
Settings = {
46+
Iterations = 1;
47+
}
48+
}
49+
}
50+
};
51+
["Weak"] = {
52+
-- The default LuaVersion is Lua51
53+
LuaVersion = "Lua51";
54+
-- For minifying no VarNamePrefix is applied
55+
VarNamePrefix = "";
56+
-- Name Generator for Variables that look like this: IlI1lI1l
57+
NameGenerator = "MangledShuffled";
58+
-- No pretty printing
59+
PrettyPrint = false;
60+
-- Seed is generated based on current time
61+
Seed = 0;
62+
-- Obfuscation steps
63+
Steps = {
64+
{
65+
Name = "SplitStrings";
66+
Settings = {
67+
Treshold = 1;
68+
MinLength = 15;
69+
MaxLength = 40;
70+
ConcatenationType = "custom";
71+
CustomFunctionType = "local";
72+
CustomLocalFunctionsCount = 2;
73+
}
74+
},
75+
{
76+
Name = "ConstantArray";
77+
Settings = {
78+
Treshold = 1;
79+
StringsOnly = true;
80+
Shuffle = true;
81+
Rotate = true;
82+
LocalWrapperTreshold = 1;
83+
LocalWrapperCount = 3;
84+
LocalWrapperArgCount = 3;
85+
}
86+
},
87+
}
88+
};
89+
["Medium"] = {
90+
-- The default LuaVersion is Lua51
91+
LuaVersion = "Lua51";
92+
-- For minifying no VarNamePrefix is applied
93+
VarNamePrefix = "";
94+
-- Name Generator for Variables that look like this: IlI1lI1l
95+
NameGenerator = "MangledShuffled";
96+
-- No pretty printing
97+
PrettyPrint = false;
98+
-- Seed is generated based on current time
99+
Seed = 0;
100+
-- Obfuscation steps
101+
Steps = {
102+
{
103+
Name = "SplitStrings";
104+
Settings = {
105+
Treshold = 1;
106+
MinLength = 15;
107+
MaxLength = 40;
108+
ConcatenationType = "custom";
109+
CustomFunctionType = "local";
110+
CustomLocalFunctionsCount = 2;
111+
}
112+
},
113+
{
114+
Name = "ConstantArray";
115+
Settings = {
116+
Treshold = 1;
117+
StringsOnly = true;
118+
Shuffle = true;
119+
Rotate = true;
120+
LocalWrapperTreshold = 1;
121+
LocalWrapperCount = 3;
122+
LocalWrapperArgCount = 3;
123+
}
124+
},
125+
{
126+
Name = "ProxifyLocals";
127+
Settings = {
128+
129+
}
130+
},
131+
{
132+
Name = "WrapInFunction";
133+
Settings = {
134+
Iterations = 1;
135+
}
136+
}
137+
}
138+
};
24139
["Strong"] = {
25140
-- The default LuaVersion is Lua51
26141
LuaVersion = "Lua51";
27142
-- For minifying no VarNamePrefix is applied
28143
VarNamePrefix = "";
29144
-- Name Generator for Variables that look like this: IlI1lI1l
30-
NameGenerator = "Il";
145+
NameGenerator = "MangledShuffled";
31146
-- No pretty printing
32147
PrettyPrint = false;
33148
-- Seed is generated based on current time
@@ -46,9 +161,9 @@ return {
46161
Treshold = 1;
47162
MinLength = 15;
48163
MaxLength = 40;
49-
ConcatenationType = "coustom";
50-
CoustomFunctionType = "local";
51-
CoustomLocalFunctionsCount = 2;
164+
ConcatenationType = "custom";
165+
CustomFunctionType = "local";
166+
CustomLocalFunctionsCount = 2;
52167
}
53168
},
54169
{
@@ -68,6 +183,12 @@ return {
68183
Settings = {
69184

70185
}
186+
},
187+
{
188+
Name = "WrapInFunction";
189+
Settings = {
190+
Iterations = 1;
191+
}
71192
}
72193
}
73194
}

0 commit comments

Comments
 (0)