为什么存在一个sql注入漏洞的网页用sqlmap上扫不出来?
我用的是DVWA的low级别,在浏览器上确定了确实有sql注入漏洞,但是用sqlmap就扫不出来?
在命令行中输入
python sqlmap.py -u "http://127.0.0.1/DVWA/vulnerabilities/sqli/" --cookie="security=low; PHPSESSID=o5f53p3bgnu9d41h3c2iubjla0"
输出
___
__H__
___ ___[(]_____ ___ ___ {1.7.8.2#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 @ 13:50:40 /2023-08-13/
[13:50:45] [WARNING] you've provided target URL without any GET parameters (e.g. 'http://www.site.com/article.php?id=1') and without providing any POST parameters through option '--data'
do you want to try URI injections in the target URL itself? [Y/n/q]
[13:50:49] [INFO] testing connection to the target URL
[13:50:49] [INFO] testing if the target URL content is stable
[13:50:49] [INFO] target URL content is stable
other non-custom parameters found. Do you want to process them too? [Y/n/q]
[13:50:51] [INFO] testing if URI parameter '#1*' is dynamic
[13:50:51] [WARNING] URI parameter '#1*' does not appear to be dynamic
[13:50:51] [WARNING] heuristic (basic) test shows that URI parameter '#1*' might not be injectable
[13:50:51] [INFO] testing for SQL injection on URI parameter '#1*'
[13:50:51] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[13:50:51] [WARNING] reflective value(s) found and filtering out
[13:50:51] [INFO] testing 'Boolean-based blind - Parameter replace (original value)'
[13:50:51] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)'
[13:50:51] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[13:50:51] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause (IN)'
[13:50:51] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[13:50:52] [INFO] testing 'Generic inline queries'
[13:50:52] [INFO] testing 'PostgreSQL > 8.1 stacked queries (comment)'
[13:50:52] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries (comment)'
[13:50:52] [INFO] testing 'Oracle stacked queries (DBMS_PIPE.RECEIVE_MESSAGE - comment)'
[13:50:52] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)'
[13:50:52] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[13:50:52] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind (IF)'
[13:50:52] [INFO] testing 'Oracle AND time-based blind'
it is recommended to perform only basic UNION tests if there is not at least one other (potential) technique found. Do you want to reduce the number of requests? [Y/n]
[13:50:53] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[13:50:53] [WARNING] URI parameter '#1*' does not seem to be injectable
[13:50:53] [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') and/or switch '--random-agent'
[13:50:53] [WARNING] HTTP error codes detected during run:
404 (Not Found) - 43 times, 403 (Forbidden) - 30 times
[*] ending @ 13:50:53 /2023-08-13/
完全找不到!但是确实网站是存在这个漏洞的!我该怎么办