-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.html
More file actions
284 lines (236 loc) · 9.13 KB
/
Copy pathconfig.html
File metadata and controls
284 lines (236 loc) · 9.13 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
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Configuración - Hackbar Future</title>
<!-- Reset -->
<link rel="stylesheet" href="css/normalize.min.css">
<!-- Estilo UI -->
<link rel="stylesheet" href="css/spectre.min.css">
<style>
body {
font-family: "Inter", "Segoe UI", sans-serif;
background-color: var(--main-color);
color: var(--text-color);
padding: 20px;
}
h1 {
border-bottom: 1px solid #444;
padding-bottom: 10px;
margin-top: 20px;
}
h2 {
font-size: 1.2em;
margin-top: 25px;
}
.section {
margin-bottom: 30px;
}
.form-group label,
.form-radio-label,
.form-checkbox-label {
display: block;
color: var(--text-color);
cursor: pointer;
}
.form-select,
.form-input {
width: 100%;
margin-top: 5px;
padding: 6px 10px;
background-color: var(--background-light);
border: none;
border-radius: 3px;
}
.form-select:hover,
.form-input:hover {
background-color: #d9d9d9;
}
.form-radio,
.form-checkbox {
margin: 8px 0;
}
.form-radio label,
.form-checkbox label {
color: var(--text-color);
}
.form-radio-input:checked + .form-radio-check,
.form-checkbox-input:checked + .form-checkbox-check {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
}
.btn-primary {
background-color: var(--secondary-color);
color: var(--main-color);
}
.btn-primary:hover {
background-color: var(--secondary-color-hover);
}
textarea.form-input {
resize: vertical;
min-height: 60px;
}
.btn-group .btn {
background-color: var(--secondary-color);
color: var(--main-color);
margin-right: 10px;
}
.btn-group .btn:hover {
background-color: var(--secondary-color-hover);
}
</style>
</head>
<body id="body">
<div class="container">
<header>
<h1>Configuración - Hackbar Future</h1>
<p>Personaliza la apariencia y comportamiento de la extensión.</p>
</header>
<!-- === Apariencia === -->
<section class="section">
<h2>Apariencia</h2>
<div class="form-group">
<label for="theme-select">Tema</label>
<select id="theme-select" class="form-select">
<option value="dark">Oscuro (por defecto)</option>
<option value="light">Claro</option>
<option value="cyberpunk">Cyberpunk</option>
</select>
</div>
<div class="form-group">
<label>Color principal</label>
<input type="color" id="accent-color" value="#FFA600" class="form-input input-sm">
</div>
<div class="form-group">
<label class="form-checkbox">
<input type="checkbox" id="compact-ui" class="form-checkbox-input">
<i class="form-icon"></i> Modo compacto
</label>
</div>
</section>
<!-- === Comportamiento === -->
<section class="section">
<h2>Comportamiento</h2>
<div class="form-group">
<label>Mostrar sección al abrir:</label>
<div class="form-radio">
<label class="form-radio-label">
<input class="form-radio-input" type="radio" name="default-section" value="sqlbasics" checked>
<span class="form-radio-check"></span>
<span class="form-radio-label-text">SQL Basics</span>
</label>
</div>
<div class="form-radio">
<label class="form-radio-label">
<input class="form-radio-input" type="radio" name="default-section" value="unionbased">
<span class="form-radio-check"></span>
<span class="form-radio-label-text">Union Based</span>
</label>
</div>
<div class="form-radio">
<label class="form-radio-label">
<input class="form-radio-input" type="radio" name="default-section" value="hacksearch">
<span class="form-radio-check"></span>
<span class="form-radio-label-text">Hack Search</span>
</label>
</div>
</div>
<div class="form-group">
<label class="form-checkbox">
<input type="checkbox" id="auto-copy-payload" class="form-checkbox-input">
<i class="form-icon"></i> Copiar payload automáticamente
</label>
</div>
<div class="form-group">
<label for="language-select">Idioma por defecto</label>
<select id="language-select" class="form-select">
<option>Español</option>
<option>Inglés</option>
<option>Portugués</option>
</select>
</div>
</section>
<!-- === Herramientas === -->
<section class="section">
<h2>Herramientas</h2>
<div class="form-group">
<label>Codificación predeterminada</label>
<div class="btn-group btn-group-block">
<button class="btn active" data-encode="hex">HEX</button>
<button class="btn" data-encode="base64">Base64</button>
<button class="btn" data-encode="url">URL</button>
</div>
</div>
<div class="form-group">
<label>Opciones avanzadas</label>
<div class="form-checkbox">
<label class="form-checkbox-label">
<input type="checkbox" id="show-binary-tools" class="form-checkbox-input">
<i class="form-icon"></i> Mostrar herramientas binarias
</label>
</div>
<div class="form-checkbox">
<label class="form-checkbox-label">
<input type="checkbox" id="enable-waf-bypass" class="form-checkbox-input">
<i class="form-icon"></i> Activar bypass WAF automático
</label>
</div>
</div>
<div class="form-group">
<label for="token-input">Token personalizado</label>
<input type="text" id="token-input" class="form-input" placeholder="ej: XSRF-TOKEN=ABC123">
</div>
</section>
<!-- === Accesibilidad === -->
<section class="section">
<h2>Accesibilidad</h2>
<div class="form-group">
<label for="font-size-range">Tamaño de fuente</label>
<input type="range" min="12" max="20" value="14" id="font-size-range" class="form-range">
</div>
<div class="form-group">
<label class="form-toggle">
<input type="checkbox" id="high-contrast" class="form-checkbox-input">
<i class="form-icon"></i>
<span>Contraste alto</span>
</label>
</div>
</section>
<!-- === Credenciales === -->
<section class="section">
<h2>Credenciales</h2>
<div class="form-group">
<label for="api-key">API Key externa</label>
<input type="text" id="api-key" class="form-input" placeholder="Tu clave aquí">
</div>
<div class="form-group">
<label for="proxy-url">Servidor Proxy</label>
<input type="url" id="proxy-url" class="form-input" placeholder="https://tuproxy.com/api/v1 ">
</div>
</section>
<!-- === Respaldo y restauración === -->
<section class="section">
<h2>Respaldo y Restauración</h2>
<div class="form-group">
<label>Exportar configuración</label>
<textarea class="form-input" rows="5" readonly>
{
"theme": "dark",
"default_section": "sqlbasics",
"auto_copy": true
}
</textarea>
</div>
<div class="form-group">
<label for="import-config">Importar configuración</label>
<input type="file" id="import-config" class="form-input">
</div>
</section>
<!-- === Acciones === -->
<div class="form-group">
<button class="btn btn-primary">Guardar Cambios</button>
<button class="btn">Restablecer</button>
</div>
</div>
</body>
</html>