sqlmap is a python base project which can be used to automate sql injection check. I'm able to install the same through pip into pycharm, project interpreter. Note, after pip install, sqlmap is available as "import sqlmap" within code.
now if i create a sample python project for e.g. samplecode.py and want to want to invoke sqlmap tools command-line option, how can i do that ???
Basically I want to invoke or run sqlmap, via calling sqlmap tool, filling its command line option, running within the console and read back its console output through python code, please help.
below is the command line option sqlmap gives.
sqlmap.py -u -p <post_parameters>