SQLMap使用中遇到的问题
user-agent问题
[15:57:12] [CRITICAL] connection dropped or unknown HTTP status code received. Try to force the HTTP User-Agent header with option ‘–user-agent’ or switch ‘–random-agent’. sqlmap is going to retry the request(s)
解决方案:
命令后加—user-agent 选项
sqlmap.py -r sqlblind.txt -D MYDATABASE –tables –random-agent
注:
默认情况下,sqlmap发送的HTTP报文的 user-agent 都是Sqlmap而不是常见的Mozilla等,这通常会被防火阿强过滤掉, 选项–random-agent 会随机选取./txt/user-agents.txt中的报头,如 Mozilla等
connection drop问题
[16:10:03] [CRITICAL] connection dropped or unknown HTTP status code received. sqlmap is going to retry the request(s)
解决方案:
命令后加—keep-alive 选项
sqlmap.py -r sqlblind.txt -D MYDATABASE –tables –random-agent –keep-alive