mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 01:47:37 +03:00 
			
		
		
		
	decodeHexValue
This commit is contained in:
		
							parent
							
								
									5b6c01d739
								
							
						
					
					
						commit
						4595b2c287
					
				| 
						 | 
				
			
			@ -3448,7 +3448,11 @@ def decodeHexValue(value):
 | 
			
		|||
                    retVal = retVal.decode("utf-16-le")
 | 
			
		||||
                except UnicodeDecodeError:
 | 
			
		||||
                    pass
 | 
			
		||||
 | 
			
		||||
            elif Backend.isDbms(DBMS.HSQL):
 | 
			
		||||
                try:
 | 
			
		||||
                    retVal = retVal.decode("utf-16-be")
 | 
			
		||||
                except UnicodeDecodeError:
 | 
			
		||||
                    pass
 | 
			
		||||
            if not isinstance(retVal, unicode):
 | 
			
		||||
                retVal = getUnicode(retVal, "utf8")
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user