-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathindex.html
More file actions
274 lines (263 loc) · 11.8 KB
/
index.html
File metadata and controls
274 lines (263 loc) · 11.8 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
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SQLMap Command Generator</title>
<link href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<script type="module" src="js/main.js"></script>
</head>
<body>
<div class="container">
<header class="header">
<h1 class="title">SQLMap Command Generator</h1>
<button class="theme-toggle" id="theme-toggle">
<span class="theme-icon">🌓</span>
<span class="theme-text">Toggle Theme</span>
</button>
</header>
<div class="grid">
<div class="card">
<h2>Target Options
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Define your target URL or Google dork. At least one is required.</span>
</span>
</h2>
<div class="form-group">
<label for="url">Target URL:</label>
<input type="text" id="url" placeholder="http://example.com/vuln.php?id=1">
</div>
<div class="form-group">
<label for="google-dork">Google Dork:</label>
<input type="text" id="google-dork" placeholder='inurl:".php?id=1"'>
</div>
<div class="form-group">
<label for="data">POST Data:</label>
<input type="text" id="data" placeholder="id=1&user=admin">
</div>
<div class="form-group">
<label for="cookie">Cookie:</label>
<input type="text" id="cookie" placeholder="PHPSESSID=abc123">
</div>
</div>
<div class="card">
<h2>Crawling Options
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Configure website crawling settings.</span>
</span>
</h2>
<div class="form-group">
<label for="crawl-depth">Crawl Depth:</label>
<input type="number" id="crawl-depth" min="1" value="1">
</div>
<div class="form-group">
<label for="crawl-exclude">Exclude Pattern:</label>
<input type="text" id="crawl-exclude" placeholder="logout|admin|disconnect">
</div>
</div>
</div>
<div class="grid">
<div class="card">
<h2>Connection Options
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Configure connection settings and anonymity options.</span>
</span>
</h2>
<div class="checkbox-group">
<div class="checkbox-item">
<input type="checkbox" id="random-agent">
<label for="random-agent">Random User-Agent</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="tor">
<label for="tor">Use Tor Network</label>
</div>
</div>
<div class="form-group">
<label for="proxy">Proxy:</label>
<input type="text" id="proxy" placeholder="http://127.0.0.1:8080">
</div>
</div>
<div class="card">
<h2>Optimization Options
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Configure performance settings.</span>
</span>
</h2>
<div class="checkbox-group">
<div class="checkbox-item">
<input type="checkbox" id="optimize">
<label for="optimize">Optimize (-o)</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="keep-alive">
<label for="keep-alive">Keep-Alive</label>
</div>
</div>
<div class="form-group">
<label for="threads">Threads:</label>
<input type="number" id="threads" min="1" max="10" value="1">
</div>
</div>
</div>
<div class="grid">
<div class="card">
<h2>Detection Options
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Configure test levels and verbosity.</span>
</span>
</h2>
<div class="form-group">
<label for="level">Level (1-5):</label>
<input type="number" id="level" min="1" max="5" value="1">
</div>
<div class="form-group">
<label for="risk">Risk (1-3):</label>
<input type="number" id="risk" min="1" max="3" value="1">
</div>
<div class="form-group">
<label for="verbosity">Verbosity (0-6):</label>
<input type="number" id="verbosity" min="0" max="6" value="1">
</div>
</div>
<div class="card">
<h2>Techniques
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Select SQL injection techniques to test.</span>
</span>
</h2>
<div class="checkbox-group">
<div class="checkbox-item">
<input type="checkbox" id="tech-b" checked>
<label for="tech-b">Boolean-based (B)</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="tech-e" checked>
<label for="tech-e">Error-based (E)</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="tech-u" checked>
<label for="tech-u">Union-based (U)</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="tech-s" checked>
<label for="tech-s">Stacked (S)</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="tech-t" checked>
<label for="tech-t">Time-based (T)</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="tech-q" checked>
<label for="tech-q">Inline (Q)</label>
</div>
</div>
</div>
</div>
<div class="grid">
<div class="card">
<h2>Enumeration
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Select data to extract from the database.</span>
</span>
</h2>
<div class="checkbox-group">
<div class="checkbox-item">
<input type="checkbox" id="all">
<label for="all">All (--all)</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="banner">
<label for="banner">Banner</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="current-user">
<label for="current-user">Current User</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="current-db">
<label for="current-db">Current DB</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="passwords">
<label for="passwords">Passwords</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="dbs">
<label for="dbs">Databases</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="tables">
<label for="tables">Tables</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="columns">
<label for="columns">Columns</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="schema">
<label for="schema">Schema</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="dump">
<label for="dump">Dump Data</label>
</div>
</div>
</div>
<div class="card">
<h2>Advanced
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">Additional attack and system options.</span>
</span>
</h2>
<div class="checkbox-group">
<div class="checkbox-item">
<input type="checkbox" id="os-shell">
<label for="os-shell">OS Shell</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="os-pwn">
<label for="os-pwn">OS Pwn</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="batch" checked>
<label for="batch">Batch Mode</label>
</div>
<div class="checkbox-item">
<input type="checkbox" id="flush-session">
<label for="flush-session">Flush Session</label>
</div>
</div>
<div class="form-group">
<label for="tamper">Tamper Scripts:</label>
<input type="text" id="tamper" placeholder="space2comment,between">
</div>
</div>
</div>
<button id="generate-btn" class="generate-btn">Generate Command</button>
<div class="card output-card">
<h2>Generated Command
<span class="tooltip">
<span class="info-icon">?</span>
<span class="tooltiptext">The generated SQLMap command based on your selections. Click 'Copy Command' to copy to clipboard.</span>
</span>
</h2>
<div id="output" class="output"></div>
<button class="copy-btn" id="copy-btn">Copy Command</button>
</div>
<footer class="footer">
<p>SQLmap Generator Made with Love by Albert C 2024</p>
<p class="version">Version 1.1.0</p>
</footer>
</div>
</body>
</html>