sqlmap missing mandatory options!

Created on 10 Apr 2017  ·  7Comments  ·  Source: sqlmapproject/sqlmap

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.

invalid

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.

All 7 comments

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.

Hi, I know this is closed but perhaps you could lend me a hand? I actually am on a windows 8 machine using the program and I am getting the same error, however I don't think its for the same reason you have stated?

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

error

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?

微信截图_20190404131844
就是现在这个问题

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

Was this page helpful?
1 / 5 - 1 ratings