2 thoughts on “cURL: Login and get a website protected by a php session”

  1. HI,

    When trying to log in to the page I receive a “Forbidden 403”, followed by CSRF verification failed and “HTTPS requires a ‘Referer Header'”

    Any ideas that could help?

    Thanks

  2. Thank you! This is exactly what I was looking for.

    Following your steps, I was able to automate a config download from a device that ONLY supports a webUI for management.

Leave a Reply Cancel reply