sqlmap提示information_schema不可用,说mysql版本小于5.0。但是真实情况中mysql本身版本是大于5.0的

当sqlmap显示information_schema不可用,并错误提示MySQL版本小于5.0时,实际MySQL版本大于5.0。尝试新建数据库用户并赋予全部权限无效。通过查阅资料发现可能是sqlmap内部版本问题。在commit更改后,LooseVersion方法导致比较错误。最终更新到sqlmap最新版本1.5.10.17解决了此问题。
摘要由CSDN通过智能技术生成

[WARNING] information_schema not available, back-end DBMS is MySQL < 5 

1、刚开始以为是mysql用户的权限不足,所以新建了新的用户,赋予mysql所有权限,但是问题仍没有解决。

2、通过参考—https://issueexplorer.com/issue/sqlmapproject/sqlmap/4853

感觉是sqlmap内部的问题,

粘贴原回答:As I understand it, the problem occurred after commit 69900a6c6efac5c8b43fcee5d8d03dc2afb063b5. It replaced the LooseVersion method from distutils.version.LooseVersion with pkg_resources.parse_version as LooseVersion. In the old version in the file "lib/core/common.py" distutils.version.LooseVersion(Backend.getVersion()) >= distutils.version.LooseVersion(version) (line 594) crashed with an error comparing int and string and fell within the except where the comparison str(Backend.getVersion()) >= str(ve

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值