![错误:sqlmap kali linux 上不存在主机“testphp.vulnweb.com”?](https://linux22.com/image/72999/%E9%94%99%E8%AF%AF%EF%BC%9Asqlmap%20kali%20linux%20%E4%B8%8A%E4%B8%8D%E5%AD%98%E5%9C%A8%E4%B8%BB%E6%9C%BA%E2%80%9Ctestphp.vulnweb.com%E2%80%9D%EF%BC%9F.png)
我在 ubuntu 14.04 lts 下的 virtualbox 中运行 kali linux。root@kali:~# sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 --dbs
在 sqlmap 中执行时出现以下错误。请帮忙。
root@kali:~# sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150914}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 at 23:19:09
[23:19:11] [WARNING] using '/root/.sqlmap/output' as the output directory
[23:19:11] [CRITICAL] host 'testphp.vulnweb.com' does not exist
[*] shutting down at 23:19:11
答案1
vi /etc/NetworkManager/NetworkManager.conf
改成false
true
进而
service network-manager restart