mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 16:07:55 +03:00 
			
		
		
		
	Fixes #3929
This commit is contained in:
		
							parent
							
								
									ad785ea0a2
								
							
						
					
					
						commit
						9e69d6076d
					
				|  | @ -27,6 +27,7 @@ from lib.core.common import unArrayizeValue | |||
| from lib.core.common import urlencode | ||||
| from lib.core.common import zeroDepthSearch | ||||
| from lib.core.compat import xrange | ||||
| from lib.core.convert import encodeBase64 | ||||
| from lib.core.convert import getUnicode | ||||
| from lib.core.data import conf | ||||
| from lib.core.data import kb | ||||
|  | @ -170,8 +171,8 @@ class Agent(object): | |||
| 
 | ||||
|         if re.sub(r" \(.+", "", parameter) in conf.base64Parameter: | ||||
|             # TODO: support for POST_HINT | ||||
|             newValue = base64.b64encode(newValue) | ||||
|             origValue = base64.b64encode(origValue) | ||||
|             newValue = encodeBase64(newValue, binary=False) | ||||
|             origValue = encodeBase64(origValue, binary=False) | ||||
| 
 | ||||
|         if place in (PLACE.URI, PLACE.CUSTOM_POST, PLACE.CUSTOM_HEADER): | ||||
|             _ = "%s%s" % (origValue, kb.customInjectionMark) | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ from lib.core.enums import OS | |||
| from thirdparty.six import unichr as _unichr | ||||
| 
 | ||||
| # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | ||||
| VERSION = "1.3.9.14" | ||||
| VERSION = "1.3.9.15" | ||||
| TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" | ||||
| TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} | ||||
| VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user