mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 01:47:37 +03:00 
			
		
		
		
	Patch for an Issue #713
This commit is contained in:
		
							parent
							
								
									54be398e83
								
							
						
					
					
						commit
						dac386735a
					
				| 
						 | 
				
			
			@ -44,7 +44,9 @@ def tamper(payload, **kwargs):
 | 
			
		|||
                continue
 | 
			
		||||
 | 
			
		||||
        if found:
 | 
			
		||||
            retVal = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
 | 
			
		||||
            retVal += "-- "
 | 
			
		||||
            _ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
 | 
			
		||||
            if _ != retVal:
 | 
			
		||||
                retVal = _
 | 
			
		||||
                retVal += "-- "
 | 
			
		||||
 | 
			
		||||
    return retVal
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user