mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 18:07:46 +03:00 
			
		
		
		
	Fixes #5042
This commit is contained in:
		
							parent
							
								
									32acb1e4ff
								
							
						
					
					
						commit
						7149991faf
					
				| 
						 | 
					@ -5408,6 +5408,12 @@ def parseRequestFile(reqFile, checkParams=True):
 | 
				
			||||||
    if conf.scope:
 | 
					    if conf.scope:
 | 
				
			||||||
        logger.info("using regular expression '%s' for filtering targets" % conf.scope)
 | 
					        logger.info("using regular expression '%s' for filtering targets" % conf.scope)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        try:
 | 
				
			||||||
 | 
					            re.compile(conf.scope)
 | 
				
			||||||
 | 
					        except Exception as ex:
 | 
				
			||||||
 | 
					            errMsg = "invalid regular expression '%s' ('%s')" % (conf.scope, getSafeExString(ex))
 | 
				
			||||||
 | 
					            raise SqlmapSyntaxException(errMsg)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for target in _parseBurpLog(content):
 | 
					    for target in _parseBurpLog(content):
 | 
				
			||||||
        yield target
 | 
					        yield target
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,7 +20,7 @@ from thirdparty import six
 | 
				
			||||||
from thirdparty.six import unichr as _unichr
 | 
					from thirdparty.six import unichr as _unichr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
 | 
					# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
 | 
				
			||||||
VERSION = "1.6.3.14"
 | 
					VERSION = "1.6.3.15"
 | 
				
			||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
 | 
					TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
 | 
				
			||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
 | 
					TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
 | 
				
			||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
 | 
					VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user