Tor+Proxychains+Curl

Need help with C, C++, perl, python, etc?

Tor+Proxychains+Curl

Postby hack3rcon » 2020-01-11 07:55

Hello,
I changed "Proxychains" configuration for using Tor. How can I use below code via proxychains:
Code: Select all
curl -X POST https://textbelt.com/text \
       --data-urlencode phone='' \
       --data-urlencode message='Hello world' \
       -d key=textbelt


Thank you.
hack3rcon
 
Posts: 436
Joined: 2015-02-16 09:54

Re: Tor+Proxychains+Curl

Postby reinob » 2020-01-11 18:31

hack3rcon wrote:Hello,
I changed "Proxychains" configuration for using Tor. How can I use below code via proxychains:
Code: Select all
curl -X POST https://textbelt.com/text \
       --data-urlencode phone='' \
       --data-urlencode message='Hello world' \
       -d key=textbelt



I'd start with "man proxychains". I think you'll clearly see how it is meant to be used.

PS1: If you just want to make a program use tor, you can use torsocks (or torify) instead of proxychains.
PS2: curl already supports using a proxy (man curl, quickly: curl --socks5-hostname localhost:9050), so you don't even need an extra tool.
reinob
 
Posts: 819
Joined: 2014-06-30 11:42

Re: Tor+Proxychains+Curl

Postby hack3rcon » 2020-01-11 20:35

Thank you.
I did "$ proxychains bash" then run the command, but not worked and showed me the page source code.
The curl parameter showed the same result.
hack3rcon
 
Posts: 436
Joined: 2015-02-16 09:54

Re: Tor+Proxychains+Curl

Postby reinob » 2020-01-12 08:00

hack3rcon wrote:Thank you.
I did "$ proxychains bash" then run the command, but not worked and showed me the page source code.
The curl parameter showed the same result.


I guess you didn't bother to read the webpage ("source code") that was returned to you, did you?

hint: many providers don't like people accessing their services via tor.
reinob
 
Posts: 819
Joined: 2014-06-30 11:42

Re: Tor+Proxychains+Curl

Postby hack3rcon » 2020-01-12 12:02

I guess you mean is "Cloudflare".
No idea about it?
hack3rcon
 
Posts: 436
Joined: 2015-02-16 09:54

Re: Tor+Proxychains+Curl

Postby reinob » 2020-01-12 16:39

hack3rcon wrote:I guess you mean is "Cloudflare".
No idea about it?


Well if you look at the webpage you see that it's cloudflare asking you to solve a captcha.
That means textbelt.com don't want tor users, which in this case means, they don't want you.
reinob
 
Posts: 819
Joined: 2014-06-30 11:42


Return to Programming

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable