昔日

sqlmap遇到url重写的示例

Chu

From: http://www.91ri.org/5104.html

高中时看见英文就头大,现在慢慢的发现当拿到一个工具时 先看看其官方给的 faq doc pdf等文档是非常有益的。
url_rewrite 这个问题 国内外都有人问。
D:\cygwin\pentest\database\sqlmap\doc \faq.pdf
下面是官方给的解答。
1.15 How to use sqlmap with mod_rewrite enabled?
Append an asterisk, *, to the place where sqlmap should check for injections in
URI itself. For example, ./sqlmap.py -u “http://target.tld/id1/1*/id2/2″,
sqlmap will inject its payloads at that place marked with * character. This
feature also applies to POST data. Multiple injection points are supported and
will be assessed sequentially.
大意为:哪里存在注入就加上 * 号

例:

./sqlmap.py -u “http://www.91ri.org/ id1/1*/id2/2

评论

热度(1)

  1. 昔日Chu 转载了此文字
    Chu