mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 09:57:38 +03:00 
			
		
		
		
	Bug fix for MsSQL --hex --technique=E (NOT IN based queries were not working properly)
This commit is contained in:
		
							parent
							
								
									b75c52f93c
								
							
						
					
					
						commit
						c1eb803ef5
					
				| 
						 | 
				
			
			@ -752,7 +752,7 @@ class Agent:
 | 
			
		|||
                if " ORDER BY " not in fromFrom:
 | 
			
		||||
                    # Reference: http://vorg.ca/626-the-MS-SQL-equivalent-to-MySQLs-limit-command
 | 
			
		||||
                    if " WHERE " in limitedQuery:
 | 
			
		||||
                        limitedQuery = "%s AND %s " % (limitedQuery, uniqueField or field)
 | 
			
		||||
                        limitedQuery = "%s AND %s " % (limitedQuery, self.nullAndCastField(uniqueField or field))
 | 
			
		||||
                    else:
 | 
			
		||||
                        limitedQuery = "%s WHERE ISNULL(%s,' ') " % (limitedQuery, uniqueField or field)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user