mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-30 23:47:45 +03:00 
			
		
		
		
	Adding a warn message when --dns-domain is ignored (because of faster techniques)
This commit is contained in:
		
							parent
							
								
									92c2b3bd4c
								
							
						
					
					
						commit
						a5062c1e4f
					
				|  | @ -407,6 +407,13 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse | |||
|                 count += 1 | ||||
|                 found = (value is not None) or (value is None and expectingNone) or count >= MAX_TECHNIQUES_PER_VALUE | ||||
| 
 | ||||
|             if found and conf.dnsName: | ||||
|                 _ = "".join(filter(None, (key if isTechniqueAvailable(value) else None for key, value in {"E":PAYLOAD.TECHNIQUE.ERROR, "U":PAYLOAD.TECHNIQUE.UNION}.items()))) | ||||
|                 warnMsg = "option '--dns-domain' will be ignored " | ||||
|                 warnMsg += "as faster techniques are usable " | ||||
|                 warnMsg += "(%s) " % _ | ||||
|                 singleTimeWarnMessage(warnMsg) | ||||
| 
 | ||||
|             if blind and isTechniqueAvailable(PAYLOAD.TECHNIQUE.BOOLEAN) and not found: | ||||
|                 kb.technique = PAYLOAD.TECHNIQUE.BOOLEAN | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user