mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 01:47:37 +03:00 
			
		
		
		
	Fixes #5096
This commit is contained in:
		
							parent
							
								
									9dc1344478
								
							
						
					
					
						commit
						7d07976969
					
				| 
						 | 
				
			
			@ -5,12 +5,7 @@ Copyright (c) 2006-2022 sqlmap developers (https://sqlmap.org/)
 | 
			
		|||
See the file 'LICENSE' for copying permission
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from lib.core.data import logger
 | 
			
		||||
from lib.core.settings import IS_WIN
 | 
			
		||||
from lib.core.settings import PLATFORM
 | 
			
		||||
 | 
			
		||||
_readline = None
 | 
			
		||||
 | 
			
		||||
try:
 | 
			
		||||
    from readline import *
 | 
			
		||||
    import readline as _readline
 | 
			
		||||
| 
						 | 
				
			
			@ -21,6 +16,10 @@ except:
 | 
			
		|||
    except:
 | 
			
		||||
        pass
 | 
			
		||||
 | 
			
		||||
from lib.core.data import logger
 | 
			
		||||
from lib.core.settings import IS_WIN
 | 
			
		||||
from lib.core.settings import PLATFORM
 | 
			
		||||
 | 
			
		||||
if IS_WIN and _readline:
 | 
			
		||||
    try:
 | 
			
		||||
        _outputfile = _readline.GetOutputFile()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,7 +20,7 @@ from thirdparty import six
 | 
			
		|||
from thirdparty.six import unichr as _unichr
 | 
			
		||||
 | 
			
		||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
 | 
			
		||||
VERSION = "1.6.5.4"
 | 
			
		||||
VERSION = "1.6.5.5"
 | 
			
		||||
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