Running version: 1.4.9.22#dev
Python version: 3.8.5
Operating system: Linux-5.7.0-kali1-amd64-x86_64-with-glibc2.29
Command line: sqlmap.py -u ******************************* --data=****************************** --random-agent --method=POST --level 5 --risk=3 --not-string=Login --tamper=xforwardedfor --preprocess=/home/****/hackthebox/blunder/csrf/csrf.py -p password -v 6
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
File "sqlmap.py", line 166, in main
init()
File "lib/core/option.py", line 2764, in init
_setPreprocessFunctions()
File "lib/core/option.py", line 873, in _setPreprocessFunctions
if name == "preprocess" and inspect.getargspec(function).args and all(_ in inspect.getargspec(function).args for _ in ("req",)):
File "/usr/lib/python3.8/inspect.py", line 1083, in getargspec
raise ValueError("Function has keyword-only parameters or annotations"
ValueError: Function has keyword-only parameters or annotations, use inspect.signature() API which can support them