Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid request headers #3

Open
meme-lord opened this issue Nov 14, 2016 · 3 comments
Open

Invalid request headers #3

meme-lord opened this issue Nov 14, 2016 · 3 comments

Comments

@meme-lord
Copy link

>python cloudflare_enum.py user@email.com mypass disney.com

{"success":false,"errors":[{"code":6004,"message":"Invalid request headers","error_chain":[{"code":6301,"message":"Invalid format for X-ATOK header"}]}],"messages":[ ],"result":null}

Same thing for any domain I put in

@phwd
Copy link

phwd commented Dec 6, 2016

Looks like your auth is failing. Check the response and check that you can sign into cloudfare.com with your credentials.

At https://github.com/mandatoryprogrammer/cloudflare_enum/blob/master/cloudflare_enum.py#L46 you can see mandatoryprogrammer search the response body for the atok variable which is needed for the X-ATOK header. So in your case, it probably isn't authorized, you get the 401 and no atok.

Here is a successful request

ee

@zeeshan0346
Copy link

same issue i am facing :/

@davqu
Copy link

davqu commented May 26, 2018

{"success":false,"errors":[{"code":9300,"message":"User session has expired. Please log in again"}],"messages":[],"result":null}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants