R
R
Randewoo2019-10-02 19:22:39
PHP
Randewoo, 2019-10-02 19:22:39

Working with cookie/redirect from PHP?

Hello.
There is a site - https://forum.diamondrp.ru/ (not advertising)
It, unfortunately, is on CloudFlare, and it, in turn, does such a sickly check when connected.
The bottom line is this: I make a request in PHP using cURL and var_dump(), but I am redirected to another page.
Example:

spoiler
cdn-cgi/l/chk_jschl?s=4348464cf18699bf5e11a4c427dd3deac631d4b2-1570033201-0-AaU0N66EVNACKBN8BtwjjTnuB1a1pwX9IAoqNMRudDDr7Xg2AEsvnmN4N%2FSuE%2Fmgrd8S66fUzdDg%2F4ezzxPOiu5Lc%2BGRQbUnn%2FOaKNHjQ3o5tcubYWoM%2BUAdab9ksMMoX9ecuR1%2FRiRzhRmnpVoZjIo%3D&jschl_vc=bdd343140e19ee1a946ae07d88dd9663&pass=1570033205.568-ElROLmSYy8&jschl_answer=NaN

But, as I understand it, the redirect happens on the JS side, because when I run index.php on my server, which in turn makes a request to the site, the redirect happens for me, not for the script.
Question - how to get this redirect link? (the script should send a request to forum.diamondrp.ru/cdn-cgi/l/...)
No matter how I try, I simply cannot pull this redirect out of the response.
I would be very grateful for help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question