How to transfer cookies from website to localhost? | بلاگ

How to transfer cookies from website to localhost?

تعرفه تبلیغات در سایت

آخرین مطالب

امکانات وب

Vote count: 0

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 index.php.

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.

asked 45 secs ago
sam

...
نویسنده : استخدام کار بازدید : 7 تاريخ : چهارشنبه 22 فروردين 1397 ساعت: 5:29