为了账号安全,请及时绑定邮箱和手机立即绑定

dbs 和tables

执行--tables时,为啥看不到表啊,--dbs的时候也看不到数据库信息

是哪里有问题呢?

python sqlmap.py -u "http://localhost/vulnerabilities/sqli/?id=1&Submit=Submit" --cookie="PHPSESSID=r0n9kc1clgtj3160gm6m8o9klt" --tables

        ___

       __H__

 ___ ___[,]_____ ___ ___  {1.2.11.19#dev}

|_ -| . [,]     | .'| . |

|___|_  [)]_|_|_|__,|  _|

      |_|V          |_|   http://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 @ 14:15:24 /2018-12-21/


[14:15:25] [INFO] testing connection to the target URL

sqlmap got a 302 redirect to 'http://localhost:80/vulnerabilities/sqli/index.php'. Do you want to follow? [Y/n]

[14:15:26] [INFO] testing if the target URL content is stable

you provided a HTTP Cookie header value. The target URL provided its own cookies within the HTTP Set-Cookie header which intersect with yours. Do you want to merge them in further requests? [Y/n]

[14:15:28] [WARNING] GET parameter 'id' does not appear to be dynamic

[14:15:28] [WARNING] heuristic (basic) test shows that GET parameter 'id' might not be injectable

[14:15:28] [INFO] testing for SQL injection on GET parameter 'id'

[14:15:28] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'

[14:15:28] [INFO] testing 'Boolean-based blind - Parameter replace (original value)'

[14:15:28] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'

[14:15:28] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'

[14:15:28] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause (IN)'

[14:15:29] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'

[14:15:29] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace (FLOOR)'

[14:15:29] [INFO] testing 'MySQL inline queries'

[14:15:29] [INFO] testing 'PostgreSQL inline queries'

[14:15:29] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'

[14:15:29] [INFO] testing 'PostgreSQL > 8.1 stacked queries (comment)'

[14:15:29] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries (comment)'

[14:15:29] [INFO] testing 'Oracle stacked queries (DBMS_PIPE.RECEIVE_MESSAGE - comment)'

[14:15:29] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind'

[14:15:30] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'

[14:15:30] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind (IF)'

[14:15:30] [INFO] testing 'Oracle AND time-based blind'

[14:15:30] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'

[14:15:31] [WARNING] GET parameter 'id' does not seem to be injectable

[14:15:31] [WARNING] GET parameter 'Submit' does not appear to be dynamic

[14:15:31] [WARNING] heuristic (basic) test shows that GET parameter 'Submit' might not be injectable

[14:15:31] [INFO] testing for SQL injection on GET parameter 'Submit'

[14:15:31] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'

[14:15:32] [INFO] testing 'Boolean-based blind - Parameter replace (original value)'

[14:15:32] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'

[14:15:32] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'

[14:15:32] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause (IN)'

[14:15:32] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'

[14:15:32] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace (FLOOR)'

[14:15:32] [INFO] testing 'MySQL inline queries'

[14:15:32] [INFO] testing 'PostgreSQL inline queries'

[14:15:32] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'

[14:15:32] [INFO] testing 'PostgreSQL > 8.1 stacked queries (comment)'

[14:15:32] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries (comment)'

[14:15:32] [INFO] testing 'Oracle stacked queries (DBMS_PIPE.RECEIVE_MESSAGE - comment)'

[14:15:32] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind'

[14:15:33] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'

[14:15:34] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind (IF)'

[14:15:34] [INFO] testing 'Oracle AND time-based blind'

[14:15:34] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'

[14:15:35] [INFO] target URL appears to be UNION injectable with 10 columns

[14:15:35] [WARNING] applying generic concatenation (CONCAT)

injection not exploitable with NULL values. Do you want to try with a random integer value for option '--union-char'? [Y/n]

[14:15:42] [WARNING] if UNION based SQL injection is not detected, please consider forcing the back-end DBMS (e.g. '--dbms=mysql')

[14:15:43] [WARNING] GET parameter 'Submit' does not seem to be injectable

[14:15:43] [CRITICAL] all tested parameters do not appear to be injectable. Try to increase values for '--level'/'--risk' options if you wish to perform more tests. If you suspect that there is some kind of protection mechanism involved (e.g. WAF) maybe you could try to use option '--tamper' (e.g. '--tamper=space2comment')


[*] ending @ 14:15:43 /2018-12-21/


MacBook-Pro-5:sqlmap-dev hujie$


正在回答

举报

0/150
提交
取消
浅析SQLmap
  • 参与学习       14716    人
  • 解答问题       33    个

如何开发一个既稳定又安全的web系统?那来学习web安全吧.

进入课程

dbs 和tables

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信