mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-19 09:33:19 +00:00
Fixes #3211
This commit is contained in:
parent
36e62fe8a7
commit
f20e7b403a
4 changed files with 6 additions and 6 deletions
|
|
@ -37,7 +37,7 @@ class Connector(GenericConnector):
|
|||
|
||||
try:
|
||||
self.connector = pymysql.connect(host=self.hostname, user=self.user, passwd=self.password, db=self.db, port=self.port, connect_timeout=conf.timeout, use_unicode=True)
|
||||
except (pymysql.OperationalError, pymysql.InternalError), msg:
|
||||
except (pymysql.OperationalError, pymysql.InternalError, pymysql.ProgrammingError), msg:
|
||||
raise SqlmapConnectionException(msg[1])
|
||||
except struct.error, msg:
|
||||
raise SqlmapConnectionException(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue