mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 09:57:38 +03:00 
			
		
		
		
	minor update for empty tables (skipping other techniques)
This commit is contained in:
		
							parent
							
								
									6177317a17
								
							
						
					
					
						commit
						56a3431be6
					
				| 
						 | 
					@ -304,7 +304,8 @@ def errorUse(expression, expected=None, dump=False):
 | 
				
			||||||
                    warnMsg = "the SQL query provided does not "
 | 
					                    warnMsg = "the SQL query provided does not "
 | 
				
			||||||
                    warnMsg += "return any output"
 | 
					                    warnMsg += "return any output"
 | 
				
			||||||
                    logger.warn(warnMsg)
 | 
					                    logger.warn(warnMsg)
 | 
				
			||||||
 | 
					                else:
 | 
				
			||||||
 | 
					                    outputs = []  # for empty tables
 | 
				
			||||||
                return outputs
 | 
					                return outputs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if " ORDER BY " in expression and (stopLimit - startLimit) > SLOW_ORDER_COUNT_THRESHOLD:
 | 
					            if " ORDER BY " in expression and (stopLimit - startLimit) > SLOW_ORDER_COUNT_THRESHOLD:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -263,7 +263,8 @@ def unionUse(expression, unpack=True, dump=False):
 | 
				
			||||||
                    warnMsg = "the SQL query provided does not "
 | 
					                    warnMsg = "the SQL query provided does not "
 | 
				
			||||||
                    warnMsg += "return any output"
 | 
					                    warnMsg += "return any output"
 | 
				
			||||||
                    logger.warn(warnMsg)
 | 
					                    logger.warn(warnMsg)
 | 
				
			||||||
 | 
					                else:
 | 
				
			||||||
 | 
					                    value = []  # for empty tables
 | 
				
			||||||
                return value
 | 
					                return value
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            threadData = getCurrentThreadData()
 | 
					            threadData = getCurrentThreadData()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user