Nmap Development mailing list archives
Re: Errors found
From: Jacek Wielemborek <d33tah () gmail com>
Date: Thu, 17 Apr 2014 14:14:28 +0200
16/04/2014 19:58:40 LUCIO BURZA <burya () ibest com br>:
Version: 6.45 Traceback (most recent call last): File "zenmapGUI\App.pyo", line 178, in _destroy_callback File "zenmapCore\UmitDB.pyo", line 401, in <module> File "zenmapCore\UmitDB.pyo", line 400, in verify_db File "zenmapCore\UmitDB.pyo", line 277, in create_db OperationalError: table scans already exists _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Note to the other devs - I took a look at the code and it looks ugly: def create_db(self): drop_string = "DROP TABLE scans;" try: self.cursor.execute(drop_string) except: connection.rollback() else: connection.commit() creation_string = """CREATE TABLE scans ( scans_id INTEGER PRIMARY KEY AUTOINCREMENT, scan_name TEXT, nmap_xml_output TEXT, digest TEXT, date INTEGER)""" self.cursor.execute(creation_string) connection.commit()
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Errors found LUCIO BURZA (Apr 16)
- Re: Errors found Jacek Wielemborek (Apr 17)