Python-Tls-Client icon indicating copy to clipboard operation
Python-Tls-Client copied to clipboard

form data is still sent wrong.

Open JFuqX opened this issue 2 years ago • 2 comments

Since version 0.1.6 > form data isn't sent right. Has anyone else experienced this kinda issue?

with the version 0.1.6 I can pass the login on a website, where form data is being sent, while when I am on a higher version than 0.1.6 I do get 403 from the page thrown.

JFuqX avatar Mar 18 '23 23:03 JFuqX

Hey, can you send example code please, so I can look into it?

FlorianREGAZ avatar Mar 24 '23 12:03 FlorianREGAZ

Hey sorry, actually I tested it, it doesn't seem to be the form data. It might be the headers, but idk what it can be tbh.

So apparently I use this tls_client for N1ke and it works pretty well on version 0.1.6, but every other version above this makes the login possible.

https://accounts.n1ke.com/token/v1

is the ENDPOINT that needs to be requested with some formdata in order to pass the login.

On version 0.1.6 I pass it, but above this version I get a 403 by N1ke with the respose-text Invalid CORS request, I've looked this issue up and it seem to have to do with the headers but I am not sure what exactly changed from 0.1.6 to 0.1.7 that makes this step impossible.

JFuqX avatar Mar 24 '23 16:03 JFuqX