Skip to content

Commit 1b90567

Browse files
committed
v.20250620
Added: --string --not-string --regexp --code
1 parent 8d621ad commit 1b90567

File tree

4 files changed

+62
-9
lines changed

4 files changed

+62
-9
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
todo.md
2-
.vs/
2+
.vs/
3+
*~*

app.js

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -299,23 +299,36 @@ class SQLMapGenerator {
299299
const torType = document.getElementById('torType').value.trim();
300300
if (torType && torType !== "SOCKS5") config['--tor-type'] = torType;
301301

302-
// Request options
302+
303303
const method = document.getElementById('method').value;
304304
if (method && method !== 'custom') {
305305
config['--method'] = method;
306306
} else if (method === 'custom') {
307307
const customHttpMethod = document.getElementById('customHttpMethod').value.trim();
308308
if (customHttpMethod) config['--method'] = customHttpMethod;
309309
}
310-
310+
311311
const data = document.getElementById('data').value.trim().replaceAll("\n", "\\\n");
312312
if (data) config['--data'] = data;
313313

314-
const paramDel = document.getElementById('paramDel').value.trim();
315-
if (paramDel && paramDel !== "&") config['--param-del'] = paramDel;
316-
314+
const string = document.getElementById('string').value.trim();
315+
if (string) config['--string'] = string;
316+
317+
const notString = document.getElementById('notString').value.trim();
318+
if (notString) config['--not-string'] = notString;
319+
320+
const regexp = document.getElementById('regexp').value.trim();
321+
if (regexp) config['--regexp'] = regexp;
322+
323+
const code = document.getElementById('code').value.trim();
324+
if (code && code >= 100 && code <= 599) config['--code'] = code;
325+
326+
// Request options
317327
const host = document.getElementById('host').value.trim();
318328
if (host) config['--host'] = host;
329+
330+
const paramDel = document.getElementById('paramDel').value.trim();
331+
if (paramDel && paramDel !== "&") config['--param-del'] = paramDel;
319332

320333
const userAgent = document.getElementById('userAgent').value;
321334
if (userAgent && userAgent === 'random') {
@@ -494,6 +507,7 @@ class SQLMapGenerator {
494507
'--tor', '--check-tor', '--tor-port', '--tor-type',
495508
'--force-ssl', '--keep-alive', '--null-connection', '--http2',
496509
'--method', '--data', '--param-del',
510+
'--string', '--not-string', '--regexp', '--code',
497511
'--host', '-A', '--mobile', '--random-agent', "--referer", "-H",
498512
'--cookie', '--cookie-del', '--live-cookies', '--load-cookies', '--drop-set-cookie',
499513
'--auth-type', '--auth-cred', '--auth-file',
@@ -763,8 +777,14 @@ class SQLMapGenerator {
763777
'--method': 'method',
764778
'--data': 'data',
765779
'--param-del': 'paramDel',
780+
'--prefix': 'prefix',
781+
'--suffix': 'suffix',
766782
'--host': 'host',
767783
'-A': 'userAgent',
784+
'--string': 'string',
785+
'--not-string': 'notString',
786+
'--regexp': 'regexp',
787+
'--code': 'code',
768788
'--mobile': 'mobileUserAgent',
769789
'--random-agent': 'userAgent',
770790
'--referer': 'referer',
@@ -815,8 +835,6 @@ class SQLMapGenerator {
815835
'--null-connection': 'nullConnection',
816836
'-o': 'optimize',
817837
'--tamper': 'tamper',
818-
'--prefix': 'prefix',
819-
'--suffix': 'suffix',
820838
'--second-url': 'secondUrl'
821839
};
822840

index.html

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1><a href="?">SQLMap Command Builder</a></h1>
1616
</p>
1717

1818
<p>
19-
<a href="https://github.com/vizzdoom/sqlmap-command-builder" target="_blank">Github Repository v.20250617</a> for <a target="_blank" href="https://github.com/sqlmapproject/sqlmap/releases">SQLMap 1.9.4</a><br />
19+
<a href="https://github.com/vizzdoom/sqlmap-command-builder" target="_blank">Github Repository v.20250620</a> for <a target="_blank" href="https://github.com/sqlmapproject/sqlmap/releases">SQLMap 1.9.4</a><br />
2020
vizzdoom/at/gmail/dot/com
2121
</p>
2222
</header>
@@ -486,6 +486,28 @@ <h3>Parameters</h3>
486486
<input type="text" id="suffix" class="form-control" placeholder="-- -">
487487
</div>
488488

489+
<h3>Detection</h3>
490+
<!-- --string -->
491+
<div class="form-group" title="">
492+
<label class="form-label" title="" for="string">String when query evaluated<br/><span>--string</span></label>
493+
<input type="text" id="string" class="form-control" placeholder="">
494+
</div>
495+
<!-- --not-string -->
496+
<div class="form-group" title="">
497+
<label class="form-label" title="" for="notString">String when query not evaluated<br/><span>--not-string</span></label>
498+
<input type="text" id="notString" class="form-control" placeholder="">
499+
</div>
500+
<!-- --regexp-->
501+
<div class="form-group" title="">
502+
<label class="form-label" title="" for="regexp">Regexp to match<br/><span>--regexp</span></label>
503+
<input type="text" id="regexp" class="form-control" placeholder="">
504+
</div>
505+
<!-- --code -->
506+
<div class="form-group" title="">
507+
<label class="form-label" title="" for="code">HTTP code to match<br/><span>--code</span></label>
508+
<input type="number" id="code" class="form-control" min="100", max="599", step="1" placeholder="201">
509+
</div>
510+
489511
<h3>Attack Optimalization</h3>
490512
<!-- --level -->
491513
<div class="form-group" title="Level of tests to perform (default: 1)">
@@ -650,6 +672,18 @@ <h3>Attack Optimalization</h3>
650672
<input type="checkbox" id="predictOutput">
651673
<span class="checkmark"></span>
652674
<span>--predict-output</span>
675+
</label>
676+
<!-- --text-only -->
677+
<label class="checkbox-label" title="Compare pages based only on the textual content.">
678+
<input type="checkbox" id="predictOutput">
679+
<span class="checkmark"></span>
680+
<span>--text-only</span>
681+
</label>
682+
<!-- --titles -->
683+
<label class="checkbox-label" title="Compare pages based only on their titles.">
684+
<input type="checkbox" id="titles">
685+
<span class="checkmark"></span>
686+
<span>--titles</span>
653687
</label>
654688
</div>
655689
</div>

logo.kra

390 KB
Binary file not shown.

0 commit comments

Comments
 (0)