gogsownz
gogsownz copied to clipboard
Invalid CSRF token
Make the tool print the _csrf cookie alongside the session key, as sometimes you will get an invalid csrf token error depending on what you are doing.
Other than that, great work.
I can confirm that I also encountered some csrf issues when using existing cookie as credentials. More specifically, when creating the repository, the csrf token is rejected when using cookie method to authenticate. I have to admit I did not look further into it and just used the plaintext credentials instead.
It's highly probable. The script is pretty bad (sincerely speaking) but (most of the time) do the job. I will look into it ASAP. In the meantime, if you get some CSRF token error please report the script output so we can see what's the troubling call.
Thanks.