mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-30 23:47:45 +03:00 
			
		
		
		
	Fixes #4026
This commit is contained in:
		
							parent
							
								
									ea0ec868e9
								
							
						
					
					
						commit
						82e6bc64c2
					
				|  | @ -2477,6 +2477,13 @@ def _basicOptionValidation(): | |||
|             errMsg = "invalid regular expression '%s' ('%s')" % (conf.crawlExclude, getSafeExString(ex)) | ||||
|             raise SqlmapSyntaxException(errMsg) | ||||
| 
 | ||||
|     if conf.scope: | ||||
|         try: | ||||
|             re.compile(conf.scope) | ||||
|         except Exception as ex: | ||||
|             errMsg = "invalid regular expression '%s' ('%s')" % (conf.scope, getSafeExString(ex)) | ||||
|             raise SqlmapSyntaxException(errMsg) | ||||
| 
 | ||||
|     if conf.dumpTable and conf.dumpAll: | ||||
|         errMsg = "switch '--dump' is incompatible with switch '--dump-all'" | ||||
|         raise SqlmapSyntaxException(errMsg) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user