Error: missing a mandatory option
edindrug opened this issue · comments
edindrug commented
Hello, sorry if already answered but I couldn't find any info.
The problem occurs when I make a bash script to run sqlmap and move it to /usr/bin so I can use it freely.
There is no error when accessing it straight from it's installation path -> ~/Programs/sqlmap-dev/sqlmap.py -u site.com
But when I try to use my script, which is basically:
#! /bin/bash
python3 ~/Programs/sqlmap-dev/sqlmap.py
and move it to the bin folder or even try to execute it from the .sh path it gives me the "Error: missing a mandatory option".
Thanks.
Miroslav Stampar commented
this is pure junk:
#! /bin/bash
python3 ~/Programs/sqlmap-dev/sqlmap.py
it is not passing any arguments to the sqlmap. those are literary the basics