Skip to content

omlinky/sqm_macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gui for sqlmap

SQLmap Command Builder for macOS

Python 3.x License

This is simple GUI for sqlmap based on old Chinese version of SQLmap Command Builder.

Supported OS:

  • macOS only

Requirements:

  • Python 3

How to prepeare the file:

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/"

How to run

  • 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

How to run with Homebrew

  • 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

Troubleshoot

  • If you use pyenv, use this manual to install tkinter properly.

All video instructions and updates announces you can find on my twitter

@omlinky

About

Python3 GUI for Sqlmap - macOS only

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages