mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 16:07:55 +03:00 
			
		
		
		
	Renamed space2extrarandomblank.py to space2mysqlblank.py
This commit is contained in:
		
							parent
							
								
									c9ba58acb6
								
							
						
					
					
						commit
						e47f873fa4
					
				|  | @ -39,11 +39,11 @@ def tamper(payload): | ||||||
|     """ |     """ | ||||||
| 
 | 
 | ||||||
|     # ASCII table: |     # ASCII table: | ||||||
|     #   \t      09      horizontal TAB |     #   TAB     09      horizontal TAB | ||||||
|     #   \n      0A      new line |     #   LF      0A      new line | ||||||
|     #   -       0C      new page |     #   FF      0C      new page | ||||||
|     #   \r      0D      carriage return |     #   CR      0D      carriage return | ||||||
|     #   -       0B      vertical TAB        (MySQL only) |     #   VT      0B      vertical TAB        (MySQL and Microsoft SQL Server only) | ||||||
|     #   -       A0      -                   (MySQL only) |     #   -       A0      -                   (MySQL only) | ||||||
|     blanks = ['%09', '%0A', '%0C', '%0D', '%0B', '%A0'] |     blanks = ['%09', '%0A', '%0C', '%0D', '%0B', '%A0'] | ||||||
|     retVal = payload |     retVal = payload | ||||||
|  | @ -65,7 +65,7 @@ def tamper(payload): | ||||||
|             elif payload[i] == '"': |             elif payload[i] == '"': | ||||||
|                 doublequote = not doublequote |                 doublequote = not doublequote | ||||||
| 
 | 
 | ||||||
|             elif payload[i]==" " and not doublequote and not quote: |             elif payload[i] == " " and not doublequote and not quote: | ||||||
|                 retVal += random.choice(blanks) |                 retVal += random.choice(blanks) | ||||||
|                 continue |                 continue | ||||||
| 
 | 
 | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user