错误:sqlmap kali linux 上不存在主机“testphp.vulnweb.com”?

错误:sqlmap kali linux 上不存在主机“testphp.vulnweb.com”?

我在 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

改成falsetrue

进而

service network-manager restart 

如中所述kali virtualbox 无法访问互联网

相关内容