-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (132 loc) · 5.54 KB
/
index.html
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="JavaScript Code Obfuscator with various settings to make your code harder to read and understand.">
<meta name="author" content="Scar17off">
<meta name="keywords" content="JavaScript, Obfuscator, Code Protection, Security">
<title>Scar17off's Obfuscator</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id="editor">
<textarea id="textarea" placeholder="Enter your code here..."></textarea>
</div>
<div id="sidebar">
<button id="obfuscateBtn">Obfuscate</button>
<h3>Basic Obfuscation</h3>
<div class="setting">
<label class="checkbox-container" title="Rename all variables to shorter names to make the code harder to understand.">
<input type="checkbox" id="renameVariables" checked>
<span class="checkmark"></span>
Rename Variables
</label>
</div>
<div class="setting">
<label class="checkbox-container" title="Encrypt all string literals to make them unreadable.">
<input type="checkbox" id="stringEncryption" checked>
<span class="checkmark"></span>
String Encryption
</label>
</div>
<h3>Control Flow Obfuscation</h3>
<div class="setting">
<label class="checkbox-container" title="Flatten the control flow to make the code structure more complex.">
<input type="checkbox" id="controlFlowFlattening">
<span class="checkmark"></span>
Control Flow Flattening
</label>
</div>
<div class="setting">
<label class="checkbox-container" title="Randomly reorder functions to make the code flow less predictable.">
<input type="checkbox" id="functionReordering">
<span class="checkmark"></span>
Function Reordering
</label>
</div>
<h3>Code Injection</h3>
<div class="setting">
<label class="checkbox-container" title="Inject dead code that will never execute to confuse reverse engineers.">
<input type="checkbox" id="deadCodeInjection">
<span class="checkmark"></span>
Dead Code Injection
</label>
</div>
<h3>Anti-Debugging</h3>
<div class="setting">
<label class="checkbox-container" title="Add protection against debugging tools.">
<input type="checkbox" id="debugProtection">
<span class="checkmark"></span>
Debug Protection
</label>
</div>
<h3>Code Transformation</h3>
<div class="setting">
<label class="checkbox-container" title="Fold constant expressions to their computed values.">
<input type="checkbox" id="constantFolding">
<span class="checkmark"></span>
Constant Folding
</label>
</div>
<div class="setting">
<label class="checkbox-container" title="Split the code into smaller parts and shuffle them.">
<input type="checkbox" id="codeSplitting">
<span class="checkmark"></span>
Code Splitting
</label>
</div>
<h3>String Transformation</h3>
<div class="setting">
<label class="checkbox-container" title="Convert strings to array elements">
<input type="checkbox" id="stringArray">
<span class="checkmark"></span>
String Array
</label>
</div>
<div class="setting">
<label class="checkbox-container" title="Shuffle the string array">
<input type="checkbox" id="stringArrayShuffle">
<span class="checkmark"></span>
String Array Shuffle
</label>
</div>
<div class="setting">
<label title="Minimum string length to be transformed">
String Array Threshold
<input type="number" id="stringArrayThreshold" min="0" value="0">
</label>
</div>
<div class="setting">
<label title="Shift string array indexes">
String Array Index Shift
<input type="number" id="stringArrayIndexShift" value="0">
</label>
</div>
<div class="setting">
<label title="Type of string array indexes">
String Array Indexes Type
<select id="stringArrayIndexesType">
<option value="number">Number</option>
<option value="hexadecimal">Hexadecimal Number</option>
</select>
</label>
</div>
<div class="setting">
<label class="checkbox-container" title="Use insane string transformation">
<input type="checkbox" id="stringInsane">
<span class="checkmark"></span>
String Insane
</label>
</div>
<div class="setting">
<label title="Maximum characters per chunk for insane string transformation">
String Insane Threshold
<input type="number" id="stringInsaneThreshold" min="1" value="2">
</label>
</div>
</div>
<script src="obfuscator.js"></script>
<script src="app.js"></script>
</body>
</html>