mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
minor fix
This commit is contained in:
parent
88fd1299dc
commit
bb8cd788e1
|
@ -34,7 +34,7 @@ class Connector(GenericConnector):
|
||||||
|
|
||||||
try:
|
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)
|
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, msg:
|
except (pymysql.OperationalError, pymysql.InternalError), msg:
|
||||||
raise sqlmapConnectionException, msg[1]
|
raise sqlmapConnectionException, msg[1]
|
||||||
|
|
||||||
self.setCursor()
|
self.setCursor()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user