(can't complain about this one since i suggested it) i will teach you how to use curl over tor >step 1: install tor (not the browser) pacman -S tor it doesn't require much configuration, just start the daemon and it should just werk rc-service tor start rc-update add tor by default it will listen on port 9050 (more info at https://wiki.archlinux.org/title/Tor) >step 2: install curl it should already be installed, if not pacman -S curl also just werks (not with tor, see next step) >step 3: configure curl to proxy connections through tor pass the --proxy flag pointing to localhost port 9050, specify the socks5h protocol for remote dns resolution (otherwise your dns request might leak) curl --proxy=socks5h://localhost:9050 <url> or add proxy=socks5h://localhost:9050 to your .curlrc change the port accordingly >step 4: use it for you covert operations just be ready to sometimes getting cuckflared when using curl, i still don't know what to do about it
>>fps-PO97OG7Y (OP) based. doin shit through tor seems way easier than i thought
>>fps-SJ2ZFUD6 it really is, once you setup the proxy all you have to do is configure your programs to use it most of them have proxy support and for the ones that do not you can use torsocks >torsocks <program> <arguments for example >torsocks youtube-dl <url> and it will route the connection through tor you can block youtube.com on your /etc/hosts and test it for your self, your computer never directly connects to youtube
>>fps-TXC4XLQO thanks fedifriend ill try that
>>PO97OG7Y While you're at it, you can also use pacman over tor, by adding "XferCommand = /usr/bin/curl --socks5-hostname localhost:9050 --continue-at - --fail --output %o %u" to your /etc/pacman.conf https://wiki.archlinux.org/title/Tor#Pacman
>>fps-F3D5Q778 Surely you could do this with an alias right? >alias pacman='torsocks pacman >alias pacman='torsocks pacman $1'' is there any benefit to changing pacman.conf rather than using this? (aside from like being user specific of course)
>>fps-TP4EYPQC ignore that first greentext whoops
>>277PE0VB don't forget to set the -i flag for automatic Tor isolation. Test "torsocks curl ifconfig.me" a few times with/without -i and watch your IP change.
>>fps-TP4EYPQC To my memory torsocks catches certain syscalls initiated by the program, before forwarding the corresponding network requests to the Tor. This should be considered a hack and cannot be guaranteed 100% fail-proof. It is always better to properly set up a program designed for proxified use than to hack the system.
>>fps-PO97OG7Y (OP) socks4 or socks5? I am so afraid of DNS leak, like what the brave bros have accomplished.
>>fps-PO97OG7Y (OP) >step 3: configure curl to proxy Why didnt you just used torsocks? the thing is already auto configured
All trademarks and copyrights on this page are owned by their respective parties.
v0.2.0-c793a28