sqlmap

sqlmapproject GitHub: sqlmap

Step 1: Clone sqlmap

mkdir sqlmap && cd sqlmap
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git .

sqlmap can be run with python3

Step 2: Create an alias for sqlmap

Add the following lines to $HOME/.zshrc

📝 The $HOME/opt directory is used as the working example. Use the appropriate directory for your setup

# Created for 'sqlmap.py'
  alias sqlmap="/Library/Frameworks/Python.framework/Versions/3.13/bin/python3 $HOME/opt/sqlmap/sqlmap.py"
../