@@ -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
0 commit comments