mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 16:07:55 +03:00 
			
		
		
		
	Patch related to the #4185
This commit is contained in:
		
							parent
							
								
									0351b4a939
								
							
						
					
					
						commit
						4e7f0b10d5
					
				|  | @ -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.4.5.1" | ||||
| VERSION = "1.4.5.2" | ||||
| 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) | ||||
|  | @ -249,7 +249,7 @@ PYVERSION = sys.version.split()[0] | |||
| IS_WIN = PLATFORM == "nt" | ||||
| 
 | ||||
| # Check if running in terminal | ||||
| IS_TTY = os.isatty(sys.stdout.fileno()) | ||||
| IS_TTY = hasattr(sys.stdout, "fileno") and os.isatty(sys.stdout.fileno()) | ||||
| 
 | ||||
| # DBMS system databases | ||||
| MSSQL_SYSTEM_DBS = ("Northwind", "master", "model", "msdb", "pubs", "tempdb", "Resource", "ReportServer", "ReportServerTempDB") | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user