root@kali:~# sqlmap --tor --tor--type=SOCKS5sqlmap -u http://www.target.com/abc.php?cat=50
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org好了!法律免责声明:未经事先双方同意,使用sqlmap攻击目标是非法的。最终用户有责任遵守所有适用的地方、州和联邦法律。开发人员不承担任何责任,也不对本程序造成的任何误用或损坏负责
[*] starting at 14:18:00
[14:18:00] [WARNING] increasing default value for option '--time-sec' to 10 because switch '--tor' was provided
[14:18:00] [INFO] setting Tor SOCKS proxy settings
[14:18:00] [INFO] testing connection to the target URL
[14:18:00] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the request
[14:18:00] [WARNING] please make sure that you have Tor installed and running so you could successfully use switch '--tor' (e.g. 'https://help.ubuntu.com/community/Tor')
[14:18:01] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the request
[14:18:02] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the request
[14:18:03] [CRITICAL] unable to connect to the target URL or proxy
[*] shutting down at 14:18:03如何解决这个问题?
发布于 2016-12-20 03:32:07
您必须安装tor apt-get install tor,然后在终端上运行tor,然后您可以执行sqlmap --tor --tor-type socks5 --tor-port=9050 --check-tor -u http://www.target.com/abc.php?cat=50来执行tor。
发布于 2016-04-26 09:46:21
我有一个非常类似的问题,我解决它的方法是使用proxychain并编辑proxychains conf文件,通过tor路由请求。这很容易做到。
我没有打开kali,但您可以通过打开终端并输入以下命令来找到该文件
locate proxychains.confhttps://stackoverflow.com/questions/31086958
复制相似问题