There is a website that acquires login and there is a Recaptcha , So I'm wondering if there is a way to copy the cookies that this website save and then move these cookies to localhost.
Note:Cookies are HttpOnly.
I want to know how to get the required cookies and insert them into a php file on localhost?
Is it possible ? Is there is a better way?
So for example if the site is http://example.com and I have a php file called
Then in this PHP file:
//Set Cookies. file_get_contents($url); // Or CURL , And maybe sending headers with this function.
Then the page is loaded and i'm logged in.