sqlmap requires ‘python-pymysql‘ third-party library

使用sqlmap进行udf提权报错:

[14:06:04] [CRITICAL] sqlmap requires 'python-pymysql' third-party library in order to directly connect to the DBMS 'MySQL'. You can download it from 'https://github.com/PyMySQL/PyMySQL'. Alternative is to use a package 'python-sqlalchemy' with support for dialect 'mysql' installed
[14:06:04] [WARNING] your sqlmap version is outdated

sqlmap requires ‘python-pymysql‘ third-party library_第1张图片

解决办法:

pip install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
python -m pip install --upgrade pip
python3 -m pip install PyMySQL

你可能感兴趣的:(python,开发语言)