Skip to content

Commit 55537b5

Browse files
committed
Update Presets
1 parent ebfc323 commit 55537b5

File tree

1 file changed

+40
-74
lines changed

1 file changed

+40
-74
lines changed

src/presets.lua

Lines changed: 40 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,19 @@ return {
2121

2222
}
2323
};
24-
["Test"] = {
24+
["Weak"] = {
2525
-- The default LuaVersion is Lua51
2626
LuaVersion = "Lua51";
2727
-- For minifying no VarNamePrefix is applied
2828
VarNamePrefix = "";
29-
-- Name Generator for Variables
29+
-- Name Generator for Variables that look like this: IlI1lI1l
3030
NameGenerator = "MangledShuffled";
3131
-- No pretty printing
3232
PrettyPrint = false;
3333
-- Seed is generated based on current time
3434
Seed = 0;
3535
-- Obfuscation steps
3636
Steps = {
37-
{
38-
Name = "EncryptStrings";
39-
Settings = {
40-
41-
};
42-
},
43-
{
44-
Name = "BreakBeautify";
45-
Settings = {
46-
47-
};
48-
},
4937
{
5038
Name = "Vmify";
5139
Settings = {
@@ -57,33 +45,16 @@ return {
5745
Settings = {
5846
Treshold = 1;
5947
StringsOnly = true;
60-
Shuffle = true;
61-
Rotate = true;
62-
LocalWrapperTreshold = 0;
63-
LocalWrapperCount = 1;
64-
LocalWrapperArgCount = 1;
6548
}
6649
},
67-
{
68-
Name = "NumbersToExpressions";
69-
Settings = {
70-
71-
}
72-
},
73-
{
74-
Name = "WrapInFunction",
75-
Settings = {
76-
Iterations = 1,
77-
}
78-
}
7950
}
8051
};
81-
["Weak"] = {
52+
["Medium"] = {
8253
-- The default LuaVersion is Lua51
8354
LuaVersion = "Lua51";
8455
-- For minifying no VarNamePrefix is applied
8556
VarNamePrefix = "";
86-
-- Name Generator for Variables that look like this: IlI1lI1l
57+
-- Name Generator for Variables
8758
NameGenerator = "MangledShuffled";
8859
-- No pretty printing
8960
PrettyPrint = false;
@@ -92,37 +63,22 @@ return {
9263
-- Obfuscation steps
9364
Steps = {
9465
{
95-
Name = "ConstantArray";
66+
Name = "EncryptStrings";
9667
Settings = {
97-
Treshold = 1;
98-
StringsOnly = true;
99-
}
68+
69+
};
10070
},
101-
}
102-
};
103-
["Medium"] = {
104-
-- The default LuaVersion is Lua51
105-
LuaVersion = "Lua51";
106-
-- For minifying no VarNamePrefix is applied
107-
VarNamePrefix = "";
108-
-- Name Generator for Variables that look like this: IlI1lI1l
109-
NameGenerator = "MangledShuffled";
110-
-- No pretty printing
111-
PrettyPrint = false;
112-
-- Seed is generated based on current time
113-
Seed = 0;
114-
-- Obfuscation steps
115-
Steps = {
11671
{
117-
Name = "SplitStrings";
72+
Name = "BreakBeautify";
11873
Settings = {
119-
Treshold = 1;
120-
MinLength = 15;
121-
MaxLength = 40;
122-
ConcatenationType = "custom";
123-
CustomFunctionType = "local";
124-
CustomLocalFunctionsCount = 2;
125-
}
74+
75+
};
76+
},
77+
{
78+
Name = "Vmify";
79+
Settings = {
80+
81+
};
12682
},
12783
{
12884
Name = "ConstantArray";
@@ -131,21 +87,21 @@ return {
13187
StringsOnly = true;
13288
Shuffle = true;
13389
Rotate = true;
134-
LocalWrapperTreshold = 1;
135-
LocalWrapperCount = 3;
136-
LocalWrapperArgCount = 3;
90+
LocalWrapperTreshold = 0;
91+
LocalWrapperCount = 1;
92+
LocalWrapperArgCount = 1;
13793
}
13894
},
13995
{
140-
Name = "ProxifyLocals";
96+
Name = "NumbersToExpressions";
14197
Settings = {
142-
98+
14399
}
144100
},
145101
{
146-
Name = "WrapInFunction";
102+
Name = "WrapInFunction",
147103
Settings = {
148-
Iterations = 1;
104+
Iterations = 1,
149105
}
150106
}
151107
}
@@ -164,20 +120,30 @@ return {
164120
-- Obfuscation steps
165121
Steps = {
166122
{
167-
Name = "Vmify";
123+
Name = "EncryptStrings";
168124
Settings = {
169125

170126
};
171127
},
128+
{
129+
Name = "BreakBeautify";
130+
Settings = {
131+
132+
};
133+
},
134+
{
135+
Name = "Vmify";
136+
Settings = {
137+
138+
};
139+
},
172140
{
173141
Name = "SplitStrings";
174142
Settings = {
175-
Treshold = 1;
176-
MinLength = 15;
177-
MaxLength = 40;
178-
ConcatenationType = "custom";
179-
CustomFunctionType = "local";
180-
CustomLocalFunctionsCount = 2;
143+
Treshold = 0.8;
144+
MinLength = 8;
145+
MaxLength = 20;
146+
ConcatenationType = "table";
181147
}
182148
},
183149
{

0 commit comments

Comments
 (0)