mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 07:57:47 +03:00 
			
		
		
		
	Fix exception if init technique not available
This commit is contained in:
		
							parent
							
								
									2c98507f1e
								
							
						
					
					
						commit
						c5087399c1
					
				|  | @ -209,6 +209,7 @@ class Xp_cmdshell: | |||
| 
 | ||||
|             query = "SELECT %s FROM %s ORDER BY id" % (self.tblField, self.cmdTblName) | ||||
| 
 | ||||
| 	    output = None | ||||
|             if any(isTechniqueAvailable(_) for _ in (PAYLOAD.TECHNIQUE.UNION, PAYLOAD.TECHNIQUE.ERROR, PAYLOAD.TECHNIQUE.QUERY)) or conf.direct: | ||||
|                 output = inject.getValue(query, resumeValue=False, blind=False, time=False) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user