@@ -299,23 +299,36 @@ class SQLMapGenerator {
299
299
const torType = document . getElementById ( 'torType' ) . value . trim ( ) ;
300
300
if ( torType && torType !== "SOCKS5" ) config [ '--tor-type' ] = torType ;
301
301
302
- // Request options
302
+
303
303
const method = document . getElementById ( 'method' ) . value ;
304
304
if ( method && method !== 'custom' ) {
305
305
config [ '--method' ] = method ;
306
306
} else if ( method === 'custom' ) {
307
307
const customHttpMethod = document . getElementById ( 'customHttpMethod' ) . value . trim ( ) ;
308
308
if ( customHttpMethod ) config [ '--method' ] = customHttpMethod ;
309
309
}
310
-
310
+
311
311
const data = document . getElementById ( 'data' ) . value . trim ( ) . replaceAll ( "\n" , "\\\n" ) ;
312
312
if ( data ) config [ '--data' ] = data ;
313
313
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
317
327
const host = document . getElementById ( 'host' ) . value . trim ( ) ;
318
328
if ( host ) config [ '--host' ] = host ;
329
+
330
+ const paramDel = document . getElementById ( 'paramDel' ) . value . trim ( ) ;
331
+ if ( paramDel && paramDel !== "&" ) config [ '--param-del' ] = paramDel ;
319
332
320
333
const userAgent = document . getElementById ( 'userAgent' ) . value ;
321
334
if ( userAgent && userAgent === 'random' ) {
@@ -494,6 +507,7 @@ class SQLMapGenerator {
494
507
'--tor' , '--check-tor' , '--tor-port' , '--tor-type' ,
495
508
'--force-ssl' , '--keep-alive' , '--null-connection' , '--http2' ,
496
509
'--method' , '--data' , '--param-del' ,
510
+ '--string' , '--not-string' , '--regexp' , '--code' ,
497
511
'--host' , '-A' , '--mobile' , '--random-agent' , "--referer" , "-H" ,
498
512
'--cookie' , '--cookie-del' , '--live-cookies' , '--load-cookies' , '--drop-set-cookie' ,
499
513
'--auth-type' , '--auth-cred' , '--auth-file' ,
@@ -763,8 +777,14 @@ class SQLMapGenerator {
763
777
'--method' : 'method' ,
764
778
'--data' : 'data' ,
765
779
'--param-del' : 'paramDel' ,
780
+ '--prefix' : 'prefix' ,
781
+ '--suffix' : 'suffix' ,
766
782
'--host' : 'host' ,
767
783
'-A' : 'userAgent' ,
784
+ '--string' : 'string' ,
785
+ '--not-string' : 'notString' ,
786
+ '--regexp' : 'regexp' ,
787
+ '--code' : 'code' ,
768
788
'--mobile' : 'mobileUserAgent' ,
769
789
'--random-agent' : 'userAgent' ,
770
790
'--referer' : 'referer' ,
@@ -815,8 +835,6 @@ class SQLMapGenerator {
815
835
'--null-connection' : 'nullConnection' ,
816
836
'-o' : 'optimize' ,
817
837
'--tamper' : 'tamper' ,
818
- '--prefix' : 'prefix' ,
819
- '--suffix' : 'suffix' ,
820
838
'--second-url' : 'secondUrl'
821
839
} ;
822
840
0 commit comments