-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Description
Running version: 1.9.6.4#dev
Python version: 3.9.1+
Operating system: Linux-5.10.0-kali3-amd64-x86_64-with-glibc2.31
Command line: sqlmap.py -d **************************************** --os-shell
Technique: DIRECT
Back-end DBMS: MySQL (identified)
Traceback (most recent call last):
File "plugins/dbms/mysql/connector.py", line 36, in connect
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)
NameError: name 'pymysql' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "sqlmap.py", line 222, in main
start()
File "lib/core/decorators.py", line 80, in _
result = f(*args, **kwargs)
File "lib/controller/controller.py", line 281, in start
action()
File "lib/controller/action.py", line 33, in action
setHandler()
File "lib/controller/handler.py", line 175, in setHandler
conf.dbmsConnector.connect()
File "plugins/dbms/mysql/connector.py", line 37, in connect
except (pymysql.OperationalError, pymysql.InternalError, pymysql.ProgrammingError, struct.error) as ex:
NameError: name 'pymysql' is not defined
Reactions are currently unavailable