From 415ce05a2fc30908e4a911c21c3c52a53a333bc6 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 4 Sep 2017 17:05:48 +0200 Subject: [PATCH] Fixes #2677 --- lib/core/settings.py | 2 +- plugins/dbms/access/connector.py | 2 +- plugins/dbms/db2/connector.py | 2 +- plugins/dbms/firebird/connector.py | 2 +- plugins/dbms/hsqldb/connector.py | 2 +- plugins/dbms/informix/connector.py | 2 +- plugins/dbms/mssqlserver/connector.py | 2 +- plugins/dbms/mysql/connector.py | 2 +- plugins/dbms/oracle/connector.py | 2 +- plugins/dbms/postgresql/connector.py | 2 +- plugins/dbms/sqlite/connector.py | 2 +- plugins/dbms/sybase/connector.py | 2 +- txt/checksum.md5 | 24 ++++++++++++------------ 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 9d6b75587..450eea4b5 100755 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.1.9.0" +VERSION = "1.1.9.1" 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) diff --git a/plugins/dbms/access/connector.py b/plugins/dbms/access/connector.py index 0ecb81623..925f8e095 100644 --- a/plugins/dbms/access/connector.py +++ b/plugins/dbms/access/connector.py @@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission try: import pyodbc -except ImportError: +except: pass import logging diff --git a/plugins/dbms/db2/connector.py b/plugins/dbms/db2/connector.py index 1f692e3a5..2a80b171f 100644 --- a/plugins/dbms/db2/connector.py +++ b/plugins/dbms/db2/connector.py @@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission try: import ibm_db_dbi -except ImportError: +except: pass import logging diff --git a/plugins/dbms/firebird/connector.py b/plugins/dbms/firebird/connector.py index 275fd6401..07428baf2 100644 --- a/plugins/dbms/firebird/connector.py +++ b/plugins/dbms/firebird/connector.py @@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission try: import kinterbasdb -except ImportError: +except: pass import logging diff --git a/plugins/dbms/hsqldb/connector.py b/plugins/dbms/hsqldb/connector.py index a1444f956..06e6165d5 100644 --- a/plugins/dbms/hsqldb/connector.py +++ b/plugins/dbms/hsqldb/connector.py @@ -8,7 +8,7 @@ See the file 'doc/COPYING' for copying permission try: import jaydebeapi import jpype -except ImportError, msg: +except: pass import logging diff --git a/plugins/dbms/informix/connector.py b/plugins/dbms/informix/connector.py index 48b52096c..b1b528441 100644 --- a/plugins/dbms/informix/connector.py +++ b/plugins/dbms/informix/connector.py @@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission try: import ibm_db_dbi -except ImportError: +except: pass import logging diff --git a/plugins/dbms/mssqlserver/connector.py b/plugins/dbms/mssqlserver/connector.py index 6439a468e..33f842352 100644 --- a/plugins/dbms/mssqlserver/connector.py +++ b/plugins/dbms/mssqlserver/connector.py @@ -8,7 +8,7 @@ See the file 'doc/COPYING' for copying permission try: import _mssql import pymssql -except ImportError: +except: pass import logging diff --git a/plugins/dbms/mysql/connector.py b/plugins/dbms/mysql/connector.py index 4c6c2eb04..eff4d2c1b 100644 --- a/plugins/dbms/mysql/connector.py +++ b/plugins/dbms/mysql/connector.py @@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission try: import pymysql -except ImportError: +except: pass import logging diff --git a/plugins/dbms/oracle/connector.py b/plugins/dbms/oracle/connector.py index 5117f9d20..38ca2b9e9 100644 --- a/plugins/dbms/oracle/connector.py +++ b/plugins/dbms/oracle/connector.py @@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission try: import cx_Oracle -except ImportError: +except: pass import logging diff --git a/plugins/dbms/postgresql/connector.py b/plugins/dbms/postgresql/connector.py index 8eb9c283c..9593a9c62 100644 --- a/plugins/dbms/postgresql/connector.py +++ b/plugins/dbms/postgresql/connector.py @@ -10,7 +10,7 @@ try: import psycopg2.extensions psycopg2.extensions.register_type(psycopg2.extensions.UNICODE) psycopg2.extensions.register_type(psycopg2.extensions.UNICODEARRAY) -except ImportError: +except: pass from lib.core.data import logger diff --git a/plugins/dbms/sqlite/connector.py b/plugins/dbms/sqlite/connector.py index dcb21072a..ca4321a00 100644 --- a/plugins/dbms/sqlite/connector.py +++ b/plugins/dbms/sqlite/connector.py @@ -7,7 +7,7 @@ See the file 'doc/COPYING' for copying permission try: import sqlite3 -except ImportError: +except: pass import logging diff --git a/plugins/dbms/sybase/connector.py b/plugins/dbms/sybase/connector.py index 6439a468e..33f842352 100644 --- a/plugins/dbms/sybase/connector.py +++ b/plugins/dbms/sybase/connector.py @@ -8,7 +8,7 @@ See the file 'doc/COPYING' for copying permission try: import _mssql import pymssql -except ImportError: +except: pass import logging diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 23fbf6ac1..ffb24bb72 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ c5f09788ee8ff9c9d12a052986875bc6 lib/core/option.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -0132a883fd48cc1392b24d866a91ba17 lib/core/settings.py +5b2ab1550ddae49f5f4473db28b48a1c lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py 4a6ecdd8a6e44bb4737bd9bc7f9b5743 lib/core/target.py @@ -116,35 +116,35 @@ fe2be081f924abf08767ed89ab12b418 lib/utils/sqlalchemy.py caeea96ec9c9d489f615f282259b32ca lib/utils/timeout.py 6fa36b9742293756b226cddee11b7d52 lib/utils/versioncheck.py 31c51a3cc73120ee9490f2e3fa6d0dca lib/utils/xrange.py -b90aae84100a6c4c2bd5eeb4197fbc6e plugins/dbms/access/connector.py +ee9cb5dd37a31643cbf4c98ef3a0bdf0 plugins/dbms/access/connector.py a71f7c8ffcb9b250cc785cad830e8980 plugins/dbms/access/enumeration.py 38a0c758d9b86915fce894b779e79e4d plugins/dbms/access/filesystem.py fe34217a0b79ac25e3af007dd46cd340 plugins/dbms/access/fingerprint.py 5a691580a59eca29bae2283b57682025 plugins/dbms/access/__init__.py c12f4f266830636462eac98e35ebb73e plugins/dbms/access/syntax.py 3fc75c350a30597962bc692c973eeeb3 plugins/dbms/access/takeover.py -a763887d6e6e99c5a73d9cf450cd84fe plugins/dbms/db2/connector.py +17dd890f91c1cde837fbef04327e9cca plugins/dbms/db2/connector.py 9d54e01e1576a423159f0e47aeb2837a plugins/dbms/db2/enumeration.py 667e50aa06883f0f194bef335015d694 plugins/dbms/db2/filesystem.py 9c6ef13c056a256e4704b924af0d7cc6 plugins/dbms/db2/fingerprint.py 35ed6e262cf68d4ab2c6111dd5fb0414 plugins/dbms/db2/__init__.py ce8bc86383f2ade41e08f2dbee1844bf plugins/dbms/db2/syntax.py 744fb5044f2b9f9d5ebda6e3f08e3be7 plugins/dbms/db2/takeover.py -b8dcd6e97166f58ee452e68c46bfe2c4 plugins/dbms/firebird/connector.py +4b96106c07daf55892f9420dd7a25b37 plugins/dbms/firebird/connector.py 147afe5f4a3d09548a8a1dbc954fe29e plugins/dbms/firebird/enumeration.py 4e421504f59861bf1ed1a89abda583d1 plugins/dbms/firebird/filesystem.py d5d19126fec00967932dc75fe7880d6d plugins/dbms/firebird/fingerprint.py f86ace7fcaea5ff3f9e86ab2dce052c5 plugins/dbms/firebird/__init__.py 04f7c2977ab5198c6f4aa6233b872ae0 plugins/dbms/firebird/syntax.py 1cb1ab93e4b8c97e81586acfe4d030a2 plugins/dbms/firebird/takeover.py -3a97bd07cce66bc812309341e7b54697 plugins/dbms/hsqldb/connector.py +6fec735f19cf1541729e17bdb6b30f9a plugins/dbms/hsqldb/connector.py 6d76854ebce4cad900b47a124a1867a9 plugins/dbms/hsqldb/enumeration.py c0b14e62e1ecbb679569a1abb9cf1913 plugins/dbms/hsqldb/filesystem.py cf5681143cd900fdf198ecd574842ecb plugins/dbms/hsqldb/fingerprint.py 0b18e3cf582b128cf9f16ee34ef85727 plugins/dbms/hsqldb/__init__.py 65e8f8edc9d18fe482deb474a29f83ff plugins/dbms/hsqldb/syntax.py 0a1584e2b01f33abe3ef91d99bafbd3f plugins/dbms/hsqldb/takeover.py -f8eaeb71239369e6ceff47596439871b plugins/dbms/informix/connector.py +ed489d7e8803e26e1f301da20a72d2bd plugins/dbms/informix/connector.py 989e75a65503dd648a45258217ae3371 plugins/dbms/informix/enumeration.py 667e50aa06883f0f194bef335015d694 plugins/dbms/informix/filesystem.py f06d263b2c9b52ea7a120593eb5806c4 plugins/dbms/informix/fingerprint.py @@ -159,42 +159,42 @@ e50b624ff23c3e180d80e065deb1763f plugins/dbms/maxdb/connector.py c03001c1f70e76de39d26241dfcbd033 plugins/dbms/maxdb/__init__.py e6036f5b2e39aec37ba036a8cf0efd6f plugins/dbms/maxdb/syntax.py 0be362015605e26551e5d79cc83ed466 plugins/dbms/maxdb/takeover.py -e3e78fab9b5eb97867699f0b20e59b62 plugins/dbms/mssqlserver/connector.py +9b3a681ff4087824fb43e23679057fa3 plugins/dbms/mssqlserver/connector.py b8de437eaa3e05c3db666968b7d142e4 plugins/dbms/mssqlserver/enumeration.py 5de6074ee2f7dc5b04b70307d36dbe1d plugins/dbms/mssqlserver/filesystem.py 5207943c31e166a70d5fc7cec8b5ef18 plugins/dbms/mssqlserver/fingerprint.py 40bd890988f9acd3942255d687445371 plugins/dbms/mssqlserver/__init__.py 400ce654ff6bc57a40fb291322a18282 plugins/dbms/mssqlserver/syntax.py 20c669e084ea4d6b968a5834f7fec66c plugins/dbms/mssqlserver/takeover.py -ad5bf4677e8e5c9cadf26cb4c8190543 plugins/dbms/mysql/connector.py +f55e550802cc33bec20213da89e2cfdf plugins/dbms/mysql/connector.py 7fe94b803fa273baf479b76ce7a3fb51 plugins/dbms/mysql/enumeration.py 1bd5e659962e814b66a451b807de9110 plugins/dbms/mysql/filesystem.py e43fda42decf2a70bad470b884674fbe plugins/dbms/mysql/fingerprint.py 42568a66a13a43ed46748290c503a652 plugins/dbms/mysql/__init__.py 96dfafcc4aecc1c574148ac05dbdb6da plugins/dbms/mysql/syntax.py 33b2dc28075ab560fd8a4dc898682a0d plugins/dbms/mysql/takeover.py -ea4b9cd238075b79945bd2607810934a plugins/dbms/oracle/connector.py +1766b6ad38da5876c257e268bf5004a1 plugins/dbms/oracle/connector.py 0471e3bf8310064e28e7c36064056e8d plugins/dbms/oracle/enumeration.py dc5962a1d4d69d4206b6c03e00e7f33d plugins/dbms/oracle/filesystem.py 525381f48505095b14e567c1f59ca9c7 plugins/dbms/oracle/fingerprint.py 25a99a9dd7072b6b7346438599c78050 plugins/dbms/oracle/__init__.py 783d4795fac75f73a7cfba3cd9c3d01c plugins/dbms/oracle/syntax.py c05176f6efe66069756fb78dfa0ed3f6 plugins/dbms/oracle/takeover.py -e087d54b9b2617a9f40be15a2bd478c2 plugins/dbms/postgresql/connector.py +0451175199516bd47114c50338489a2f plugins/dbms/postgresql/connector.py 8377c5ab3de500f9a495fcd9e2a75d3e plugins/dbms/postgresql/enumeration.py 48822058c620ffaa2acc599b4d39c667 plugins/dbms/postgresql/filesystem.py c10df993e8b243ba3d6a94e8ae28a875 plugins/dbms/postgresql/fingerprint.py a3a4e82e9a68329c44762897c87acfec plugins/dbms/postgresql/__init__.py 76bde1ffb3040ae709156449a583e9ed plugins/dbms/postgresql/syntax.py 286f95526a6ce0b8ae9bff6fc3117af0 plugins/dbms/postgresql/takeover.py -719fdd12e360458e822950f245d67ad0 plugins/dbms/sqlite/connector.py +0119dcaa1d785576cb2709e204b2a432 plugins/dbms/sqlite/connector.py 28b9d7d0614e52275a30b5a57fc76027 plugins/dbms/sqlite/enumeration.py 954e503cfc8dd1acf9fc50868f5dafb0 plugins/dbms/sqlite/filesystem.py ee430d142fa8f9ee571578d0a0916679 plugins/dbms/sqlite/fingerprint.py 6b17cc8cc94a912a0a5cf15acbad5ba4 plugins/dbms/sqlite/__init__.py 4827722159a89652005f49265bb55c43 plugins/dbms/sqlite/syntax.py 02ab8ff465da9dd31ffe6a963c676180 plugins/dbms/sqlite/takeover.py -e3e78fab9b5eb97867699f0b20e59b62 plugins/dbms/sybase/connector.py +9b3a681ff4087824fb43e23679057fa3 plugins/dbms/sybase/connector.py e98b82180be4fc5bbf4dfe7247afcbfe plugins/dbms/sybase/enumeration.py 62d772c7cd08275e3503304ba90c4e8a plugins/dbms/sybase/filesystem.py deed74334b637767fc9de8f74b37647a plugins/dbms/sybase/fingerprint.py