mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-30 23:47:45 +03:00 
			
		
		
		
	Removing that ugly disk I/O error in live testing mode
This commit is contained in:
		
							parent
							
								
									934808f53b
								
							
						
					
					
						commit
						b1f31103f9
					
				|  | @ -111,6 +111,10 @@ class HashDB(object): | |||
|                         except sqlite3.IntegrityError: | ||||
|                             self.cursor.execute("UPDATE storage SET value=? WHERE id=?", (value, hash_,)) | ||||
|                     except sqlite3.OperationalError, ex: | ||||
|                         if not os.path.exists(self.filepath): | ||||
|                             debugMsg = "session file '%s' does not exist" % self.filepath | ||||
|                             logger.debug(debugMsg) | ||||
|                             break | ||||
| 
 | ||||
|                         if retries == 0: | ||||
|                             warnMsg = "there has been a problem while writing to " | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user