![]() |
|
Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Proxy Types (https://proxycommunity.com/forum/forum-proxy-types) +--- Forum: SOCKS5 Proxies (https://proxycommunity.com/forum/forum-socks5-proxies) +--- Thread: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! (/thread-can-resty-use-socks5-proxy-need-help-setting-it-up) |
Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - cloakSeekerX - 01-05-2024 Hey folks, I’m trying to figure out if resty can use socks5 proxy. I’ve been googling around but can’t find a clear answer. I’m working on a project where I need resty to connect through a socks5 proxy, but I’m kinda stuck on how to set it up. Anyone here managed to get resty use socks5 proxy successfully? If you’ve got any tips or code snippets, that’d be awesome. Or even just pointing me in the right direction would help. Thanks in advance! (Also, sorry if this has been asked before—I’m new to this forum and still figuring things out.) Cheers! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - stealthLurkerX - 13-11-2024 Hey! I had the same issue with resty use socks5 proxy a while back. I found that resty itself doesn’t natively support socks5, but you can use a workaround with `proxychains`. Just install proxychains, configure it with your socks5 proxy, and then run your resty script through it. It’s not perfect, but it gets the job done. Here’s a quick guide I used: [link to proxychains setup]. Hope this helps! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - SafeRoute7 - 06-12-2024 Yo, I’ve been down this rabbit hole too. Resty use socks5 proxy isn’t straightforward, but you can use `curl` with socks5 and then pipe the output to resty. Something like: `curl --socks5-hostname 127.0.0.1:1080 http://example.com | resty` Not the cleanest solution, but it works in a pinch. Let me know if you need more details! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - maskedTrekker99 - 23-01-2025 Hey there! I don’t think resty use socks5 proxy is supported out of the box, but you can try using a tunneling tool like `ssh -D` to create a socks5 proxy and then route resty through that. It’s a bit of a hack, but it’s worked for me in the past. If you’re on Linux, this might be worth a shot. Good luck! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - MaskedTrailX - 26-01-2025 Hmm, I’ve been looking into this too. From what I’ve seen, resty use socks5 proxy isn’t directly possible, but you can use a library like `requests` in Python with a socks5 proxy and then integrate it with resty. It’s a bit of a workaround, but it’s doable. Here’s a snippet: ```python import requests proxies = {'http': 'socks5://127.0.0.1:1080', 'https': 'socks5://127.0.0.1:1080'} response = requests.get('http://example.com', proxies=proxies) ``` Then you can pass the response to resty. Hope that helps! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - cloakSeekerX - 04-02-2025 Wow, thanks everyone for the awesome suggestions! I didn’t expect so many workarounds for resty use socks5 proxy. I tried the proxychains method, and it worked like a charm. I’m still curious about the mitmproxy approach though—anyone got a more detailed guide on that? Also, big thanks for the curl and privoxy tips. You guys rock! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - fastCipher77 - 25-02-2025 Hey! I’ve been using resty with socks5 proxy by setting up a local HTTP proxy that converts socks5 to HTTP. Tools like `privoxy` can do this. Once you have privoxy running, you can point resty to the local HTTP proxy, and it’ll route through socks5. It’s a bit of setup, but it’s reliable. Let me know if you need help with the config! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - StealthMind99 - 01-03-2025 I feel your pain, man. Resty use socks5 proxy isn’t well-documented, but I managed to get it working with `mitmproxy`. You can configure mitmproxy to use a socks5 upstream proxy and then point resty to mitmproxy. It’s a bit overkill, but it works like a charm. Here’s a quick guide: [link to mitmproxy setup]. Good luck! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - vpnDrifter77 - 04-03-2025 Hey, I’m not sure if this helps, but I’ve seen people use `socksify` to force resty to use socks5 proxy. It’s a bit of a hack, but it works. Just install socksify, configure it, and run your resty command through it. It’s not the most elegant solution, but it gets the job done. Let me know if you need more details! RE: Can Resty Use SOCKS5 Proxy? Need Help Setting It Up! - proxySwift77 - 06-03-2025 Yo, I’ve been messing with resty use socks5 proxy for a while now. Honestly, the easiest way I found is to just use a VPN that supports socks5 and route everything through that. It’s not a direct solution, but it saves a lot of headaches. If you’re open to that, I can recommend a few good VPNs. Cheers! |