Problems with using agents in PHP CURL

has been implementing a feature recently. Use php curl to submit data to post to query a station to query the order page (because the function of the station is not open to api, so I want to use curl to simulate the form to submit the query). After writing the code, the query can be submitted normally, but it is found that their side will restrict ip, after a long period of frequency, so they want to use the curl agent to simulate the request query. So I went to the Internet to find 100 agents ip, to do a library to let the program frequently simulate the submission of queries to switch agents ip to check. Then my question is, this is not safe, mainly when I simulate the query, in addition to checking through the order number, there is also private information such as the corresponding password of the order. If I use the curl agent to simulate the submission of the query, can the proxy server capture my post data? The main reason for asking this question is that you don"t understand the principle and process of proxy ip for curl. Now ask Daniel, please help me solve this problem


read twice to understand your question. The agent ip may get less information about you, and it may also be leaked. I'm not sure ^ _ ^.


curl proxy ip is a forward proxy
what is a forward proxy, that is, the server does not know what the real client ip is, that is, the simulated ip
that you describe goes through almost three steps:

your ip- > proxy ip- > server

post submission without https, is likely to be intercepted;
if the "supplier" of proxy ip monitors the use of these ip, your information is basically intercepted.

and your message also contains a password, which is very embarrassing.

Menu