Просмотр исходного кода

book/tor contrib: replace python tor script with curl socks5 command

zero 2 лет назад
Родитель
Сommit
4984269c0d
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      doc/src/dev/contrib/tor.md

+ 7 - 1
doc/src/dev/contrib/tor.md

@@ -4,8 +4,13 @@
 
 We assume you have tor installed locally and access to Tor browser.
 You can check your tor daemon is running by installing `python-pysocks`
-and then run this Python script:
+and then run this command:
 
+```
+curl --socks5-hostname 127.0.0.1:9050 https://myip.wtf/text
+```
+
+<!--
 ```py
 # install pysocks
 import socks
@@ -16,6 +21,7 @@ import requests
 response = requests.get("https://myip.wtf/text")
 print(response.content)
 ```
+-->
 
 ## Setting Up Codeberg