This is simple GUI for sqlmap based on old Chinese version of SQLmap Command Builder.
- macOS only
- Python 3
Attention! It's a little bit tricky to run SQLmap Command Builder on macOS but it's possible
- Check your python3 version
python3 --version
- Install appscript
sudo pip3 install appscript
- You can put files of SQLmap Command Builder in sqlmap folder or manually change sqlmap intallation folder:
- Open sqm.pyw in any text file editor, for example: SublimeText, Coda2, BBEdit, or any other, even in standart macOS text editor
- go to line 20
sqlmap_path = "./"
- you have to change instllation path "./" to your sqlmap installation path. Example: My installation directory of sqlmap
- be awared that the /omlinky/ is my username, you will have yours
sqlmap_path = "/Users/omlinky/Desktop/sqlmap-dev"
- or you can uncomment next line that contains homebrew installation path of sqlmap
#sqlmap_path = "./"
sqlmap_path = "/opt/homebrew/opt/sqlmap/libexec/"
- Download sqlmap. Here /Users/omlinky/Desktop/sqlmap-dev change omlinky to your username macOS
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git /Users/omlinky/Desktop/sqlmap-dev
- Give necessary permissions if nedeed
chmod u+x /Users/omlinky/Desktop/sqlmap-dev
- Put all files of SQLmap Command Builder in sqlmap folder
- Go to sqlmap installation folder
cd /Users/omlinky/Desktop/sqlmap-dev
python3 sqm.pyw
- Git this repo to your mac
git clone --depth 1 https://github.com/omlinky/sqm_macos /Users/omlinky/Desktop/sqm_macos
- Install sqlmap with Homebrew
brew install sqlmap
- Run script with python
cd /Users/omlinky/Desktop/sqm_macos
python3 sqm.pyw
- If you use pyenv, use this manual to install tkinter properly.
All video instructions and updates announces you can find on my twitter
@omlinky