This package must be update to stable version. Run: root@host:~ # sqlmap -u http://example.com/ ___ __H__ ___ ___[,]_____ ___ ___ {1.3.12#pip} |_ -| . [,] | .'| . | |___|_ [.]_|_|_|__,| _| |_|V... |_| http://sqlmap.org [!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program [*] starting @ 13:38:16 /2024-04-13/ [13:38:16] [ERROR] wrong modification time of '/usr/local/lib/python3.9/site-packages/sqlmap/extra/shutils/duplicates.py' [13:38:16] [ERROR] wrong modification time of '/usr/local/lib/python3.9/site-packages/sqlmap/extra/shutils/newlines.py' [13:38:16] [CRITICAL] code integrity check failed (turning off automatic issue creation). You should retrieve the latest development version from official GitHub repository at 'https://github.com/sqlmapproject/sqlmap' Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlmap/sqlmap.py", line 166, in main init() File "/usr/local/lib/python3.9/site-packages/sqlmap/lib/core/option.py", line 2687, in init loadBoundaries() File "/usr/local/lib/python3.9/site-packages/sqlmap/lib/parse/payloads.py", line 89, in loadBoundaries parseXmlNode(root) File "/usr/local/lib/python3.9/site-packages/sqlmap/lib/parse/payloads.py", line 44, in parseXmlNode for element in node.getiterator("boundary"): AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator' [13:38:16] [WARNING] you haven't updated sqlmap for more than 1594 days!!! [*] ending @ 13:38:16 /2024-04-13/
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d3152e4fa5deebbf045780b7889581c85d78c195 commit d3152e4fa5deebbf045780b7889581c85d78c195 Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-05-19 00:19:14 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-05-19 00:19:14 +0000 security/sqlmap: update to 1.8 - update to 1.8, this fixes runtime and adds support of latest Python version - convert to pep517 PR: 278345 Reported by: runtomaker@gmail.com security/sqlmap/Makefile | 6 ++++-- security/sqlmap/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-)
Fixed by update to 1.8, thanks!