mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-30 23:47:45 +03:00 
			
		
		
		
	Fixes #4545
This commit is contained in:
		
							parent
							
								
									ed0909fe57
								
							
						
					
					
						commit
						e5086ef61a
					
				|  | @ -1059,7 +1059,8 @@ def dataToDumpFile(dumpFile, data): | ||||||
|             errMsg = "permission denied when flushing dump data" |             errMsg = "permission denied when flushing dump data" | ||||||
|             logger.error(errMsg) |             logger.error(errMsg) | ||||||
|         else: |         else: | ||||||
|             raise |             errMsg = "error occurred when writing dump data to file ('%s')" % getUnicode(ex) | ||||||
|  |             logger.error(errMsg) | ||||||
| 
 | 
 | ||||||
| def dataToOutFile(filename, data): | def dataToOutFile(filename, data): | ||||||
|     """ |     """ | ||||||
|  |  | ||||||
|  | @ -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.5.1.34" | VERSION = "1.5.1.35" | ||||||
| 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) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user