mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 16:07:55 +03:00 
			
		
		
		
	minor fix
This commit is contained in:
		
							parent
							
								
									22cd49a217
								
							
						
					
					
						commit
						6cdf08b81c
					
				|  | @ -93,7 +93,7 @@ def checkSqlInjection(place, parameter, value): | |||
| 
 | ||||
|             # Skip test if the user's wants to test only for a specific | ||||
|             # technique | ||||
|             if isinstance(conf.technique, list) and stype not in conf.technique: | ||||
|             if conf.technique and isinstance(conf.technique, list) and stype not in conf.technique: | ||||
|                 debugMsg = "skipping test '%s' because the user " % title | ||||
|                 debugMsg += "specified to test only for " | ||||
|                 debugMsg += "%s" % ",".join(map(lambda x: PAYLOAD.SQLINJECTION[x], conf.technique)) | ||||
|  |  | |||
|  | @ -2147,7 +2147,7 @@ def isTechniqueAvailable(technique=None): | |||
|     technique specified | ||||
|     """ | ||||
| 
 | ||||
|     if isinstance(conf.technique, list) and technique not in conf.technique: | ||||
|     if conf.technique and isinstance(conf.technique, list) and technique not in conf.technique: | ||||
|         return False | ||||
|     else: | ||||
|         return getTechniqueData(technique) is not None | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user