mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 16:07:55 +03:00 
			
		
		
		
	fix for a bug reported by saccurso@skygear.com.ar (UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 0: ordinal
not in range(128))
This commit is contained in:
		
							parent
							
								
									1d61611145
								
							
						
					
					
						commit
						41924a6ead
					
				|  | @ -60,7 +60,7 @@ def safechardecode(value): | |||
|         while True: | ||||
|             match = regex.search(retVal) | ||||
|             if match: | ||||
|                 retVal = retVal.replace(match.group("result"), binascii.unhexlify(match.group("result").lstrip('\\x'))) | ||||
|                 retVal = retVal.replace(match.group("result"), unichr(ord(binascii.unhexlify(match.group("result").lstrip('\\x'))))) | ||||
|             else: | ||||
|                 break | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user