/ps/ - Privacy and Security

Topics relating to digital/physical privacy and security.

[X]

(for post deletion)
(12.00 MiB max)
Mark sensitive


File: e439aa154d9a0a13bc87c3ee5b(...).gif (3.39 MiB) [Draw]
curl over tor Anonymous 06/29/21(Tue)16:29:55 No. PO97OG7Y
(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
>>
Anonymous 06/30/21(Wed)17:57:00 No. SJ2ZFUD6 >>TXC4XLQO
>>PO97OG7Y (OP) based. doin shit through tor seems way easier than i thought
>>
Anonymous 07/01/21(Thu)17:30:54 No. TXC4XLQO >>277PE0VB
>>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
>>
Anonymous 07/03/21(Sat)02:55:42 No. 277PE0VB
>>TXC4XLQO thanks fedifriend ill try that
>>
Anonymous 07/30/21(Fri)23:28:37 No. F3D5Q778 >>TP4EYPQC
>>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
>>
Anonymous 08/03/21(Tue)15:00:38 No. TP4EYPQC >>8T5M6MVM >>ZA20VPBP
>>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)
>>
Anonymous 08/03/21(Tue)15:01:08 No. 8T5M6MVM
>>TP4EYPQC ignore that first greentext whoops
>>
Anonymous 07/13/22(Wed)07:44:12 No. K3IB2TBK
>>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.
>>
Anonymous 07/15/22(Fri)19:38:31 No. ZA20VPBP
>>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.
>>
Anonymous 07/16/22(Sat)08:45:58 No. O64NBVQL
>>PO97OG7Y (OP) socks4 or socks5? I am so afraid of DNS leak, like what the brave bros have accomplished.
>>
Anonymous 08/14/22(Sun)11:56:57 No. 1IZCG720
>>PO97OG7Y (OP) >step 3: configure curl to proxy Why didnt you just used torsocks? the thing is already auto configured

[Post a Reply] 10 / 0

Delete Post: [File Only]
[Home] [Rules] [FAQ]

All trademarks and copyrights on this page are owned by their respective parties.

v0.1.1

Theme: