I wanted to start SQLmap on kali linux but i got the following error:
sqlmap error: missing a mandatory option (-d, -u, -l , -m, -r, -g, -c, -x, --wizard, --update, --purge-output or --dependencies), use -h for basic or --h for advanced help.
So i updated Kali Linux, still no fix.
Then i downloaded it on windows with Python. still the same error...
I hope you can help me.
Missing mandatory option means just that. You are not using any mandatory option (given by sqlmap in that error message). In plain speak, sqlmap is not a "click-click" program. You have to give it some options.
Input|
(Path Stuff )>sqlmap.py -u (site) --dbs
Output|
Usage: sqlmap.py [options]
sqlmap.py: error: missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, -x, --wizard, --update, --purge -output or --dependencies), use -h for basic or -hh for advanced help
How to reproduce this as I am not able to? Also, lots of users are already running sqlmap on Windows without any problems. Can you please copy paste the exact command you use as maybe your minus sign is something else than normal?
Hey, sorry for the late response. I have found a fix for my problem and thats with adding "" around the URL, although in a linux machine I don't remember needing this. I suppose its different for windows? or it changed not really sure but The problem does not exist anymore! Thanks for the concern though
hi about this problem i actualy have it and when i type any mandatory option that give me this answer: command not found
how can i fix it?

就是现在这个问题
Missing mandatory option means just that. You are not using any mandatory option (given by sqlmap in that error message). In plain speak, sqlmap is not a "click-click" program. You have to give it some options.
Man, it isn't, but its an error!
I used the same command
On different sqlmap versions(1.3 & 1.4), but result was same, so problem is in my kali nethunter system
Command is: sqlmap -U (url) -D (databasename) --table
I think I solved it, used small u, not capital
Most helpful comment
Missing mandatory option means just that. You are not using any mandatory option (given by sqlmap in that error message). In plain speak, sqlmap is not a "click-click" program. You have to give it some options.