mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 07:57:47 +03:00 
			
		
		
		
	Patch for #4337
This commit is contained in:
		
							parent
							
								
									bcea050f22
								
							
						
					
					
						commit
						bfe93e20c5
					
				|  | @ -18,7 +18,7 @@ from lib.core.enums import OS | ||||||
| from thirdparty.six import unichr as _unichr | from thirdparty.six import unichr as _unichr | ||||||
| 
 | 
 | ||||||
| # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | ||||||
| VERSION = "1.4.9.5" | VERSION = "1.4.9.6" | ||||||
| TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" | TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" | ||||||
| TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} | 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) | VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) | ||||||
|  |  | ||||||
|  | @ -428,6 +428,12 @@ def main(): | ||||||
|             logger.critical(errMsg) |             logger.critical(errMsg) | ||||||
|             raise SystemExit |             raise SystemExit | ||||||
| 
 | 
 | ||||||
|  |         elif all(_ in excMsg for _ in ("HTTPNtlmAuthHandler", "'str' object has no attribute 'decode'")): | ||||||
|  |             errMsg = "package 'python-ntlm' has a known compatibility issue with the " | ||||||
|  |             errMsg += "Python 3 (Reference: https://github.com/mullender/python-ntlm/pull/61)" | ||||||
|  |             logger.critical(errMsg) | ||||||
|  |             raise SystemExit | ||||||
|  | 
 | ||||||
|         elif "'DictObject' object has no attribute '" in excMsg and all(_ in errMsg for _ in ("(fingerprinted)", "(identified)")): |         elif "'DictObject' object has no attribute '" in excMsg and all(_ in errMsg for _ in ("(fingerprinted)", "(identified)")): | ||||||
|             errMsg = "there has been a problem in enumeration. " |             errMsg = "there has been a problem in enumeration. " | ||||||
|             errMsg += "Because of a considerable chance of false-positive case " |             errMsg += "Because of a considerable chance of false-positive case " | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user