mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-26 05:31:04 +03:00 
			
		
		
		
	minor fix
This commit is contained in:
		
							parent
							
								
									1beb1dd2cc
								
							
						
					
					
						commit
						c17f444aab
					
				|  | @ -148,9 +148,9 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None | ||||||
|         if result: |         if result: | ||||||
|             return result |             return result | ||||||
| 
 | 
 | ||||||
|         if not continuousOrder: |         originalTbl = list(charTbl) | ||||||
|             originalTbl = list(charTbl) | 
 | ||||||
|         else: |         if continuousOrder: | ||||||
|             # Used for gradual expanding into unicode charspace |             # Used for gradual expanding into unicode charspace | ||||||
|             shiftTable = [5, 4] |             shiftTable = [5, 4] | ||||||
| 
 | 
 | ||||||
|  | @ -215,7 +215,10 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None | ||||||
|                             return None |                             return None | ||||||
|                     else: |                     else: | ||||||
|                         retVal = minValue + 1 |                         retVal = minValue + 1 | ||||||
|                         return chr(retVal) if retVal < 128 else unichr(retVal) |                         if retVal in originalTbl: | ||||||
|  |                             return chr(retVal) if retVal < 128 else unichr(retVal) | ||||||
|  |                         else: | ||||||
|  |                             return None | ||||||
|                 else: |                 else: | ||||||
|                     if minValue == maxChar or maxValue == minChar: |                     if minValue == maxChar or maxValue == minChar: | ||||||
|                         return None |                         return None | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user