mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-01 00:17:25 +03:00 
			
		
		
		
	Fixes #3357
This commit is contained in:
		
							parent
							
								
									e6535d359d
								
							
						
					
					
						commit
						ddf353b86e
					
				|  | @ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME | |||
| from lib.core.enums import OS | ||||
| 
 | ||||
| # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | ||||
| VERSION = "1.2.11.5" | ||||
| VERSION = "1.2.11.6" | ||||
| 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) | ||||
|  |  | |||
|  | @ -20,6 +20,7 @@ class Connector: | |||
|     def __init__(self): | ||||
|         self.connector = None | ||||
|         self.cursor = None | ||||
|         self.hostname = None | ||||
| 
 | ||||
|     def initConnection(self): | ||||
|         self.user = conf.dbmsUser or "" | ||||
|  | @ -34,6 +35,7 @@ class Connector: | |||
|         logger.info(infoMsg) | ||||
| 
 | ||||
|     def closed(self): | ||||
|         if self.hostname: | ||||
|             infoMsg = "connection to %s server %s" % (conf.dbms, self.hostname) | ||||
|             infoMsg += ":%d closed" % self.port | ||||
|             logger.info(infoMsg) | ||||
|  |  | |||
|  | @ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632  lib/core/patch.py | |||
| 0c3eef46bdbf87e29a3f95f90240d192  lib/core/replication.py | ||||
| a7db43859b61569b601b97f187dd31c5  lib/core/revision.py | ||||
| fcb74fcc9577523524659ec49e2e964b  lib/core/session.py | ||||
| 9bea28956f348af193325c45ee992dda  lib/core/settings.py | ||||
| 7e344a320c695a16b3c52d53f7c06006  lib/core/settings.py | ||||
| a971ce157d04de96ba6e710d3d38a9a8  lib/core/shell.py | ||||
| a7edc9250d13af36ac0108f259859c19  lib/core/subprocessng.py | ||||
| 721198b5be72c8015a02acb116532a1f  lib/core/target.py | ||||
|  | @ -211,7 +211,7 @@ f639120d42b33b6ca67930bddbf2ac1f  plugins/dbms/sqlite/__init__.py | |||
| a3db8618eed5bb2807b6f77605cba9cc  plugins/dbms/sybase/__init__.py | ||||
| 36acb9a5966af21b32e8558b0d50653d  plugins/dbms/sybase/syntax.py | ||||
| 79f6c7017db4ded8f74a0117188836ff  plugins/dbms/sybase/takeover.py | ||||
| 34d181a7086d6dfc7e72ae5f8a4cfe0f  plugins/generic/connector.py | ||||
| bdc159cc5afb28cadd980c01c43ba669  plugins/generic/connector.py | ||||
| ce6a6ff713852b5eca7b78316cc941c4  plugins/generic/custom.py | ||||
| 3d75e831574c750ed58e24eaa562c056  plugins/generic/databases.py | ||||
| 35546acab0eea406c23b84363df4d534  plugins/generic/entries.py | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user