mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 07:57:47 +03:00 
			
		
		
		
	Minor refactoring
This commit is contained in:
		
							parent
							
								
									29bdcf0e65
								
							
						
					
					
						commit
						12b9939baa
					
				|  | @ -38,7 +38,6 @@ def tamper(payload, **kwargs): | ||||||
|     retVal = payload |     retVal = payload | ||||||
| 
 | 
 | ||||||
|     if payload: |     if payload: | ||||||
|         for regex, subst in ((r"\s+=\s+", " LIKE "), (r"\s+=", " LIKE"), (r"=\s+", "LIKE ")): |         retVal = re.sub(r"\s*=\s*", " LIKE ", retVal) | ||||||
|             retVal = re.sub(regex, subst, retVal) |  | ||||||
| 
 | 
 | ||||||
|     return retVal |     return retVal | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user