1

root@kali:~# sqlmap --tor --tor-type=SOCKS5 -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

これを修正する方法???

4

2 に答える 2

4

apt-get install tortorをインストールしてからtorターミナルで実行する必要があります。その後、sqlmap --tor --tor-type socks5 --tor-port=9050 --check-tor -u http://www.target.com/abc.php?cat=50tor で実行できます。

于 2016-12-19T19:32:07.253 に答える
0

私は非常によく似た問題を抱えていましたが、それを解決した方法は、proxychains を使用し、proxychains conf ファイルを編集して、tor を介してリクエストをルーティングすることでした。それは十分に簡単です

私は kali を開いていませんが、ターミナルを開いて入力するとファイルを見つけることができます

locate proxychains.conf
于 2016-04-26T01:46:21.027 に答える