@
Paco8
since the headers needed are being generated by the javascript on peacock i wonder if something like this could be used -
https://github.com/PiotrDabkowski/Js2Py
-----
.... otherwise im trying to narrow down where the code lives in the javascript
assuming the correct file doing the generation can be found, i did some minor research and going to
www.peacocktv.com/start and entering your email it sets a cookie which is used to login on the following sign-in page
the postdata went to rango.id.peacocktv.com/signin/flex/service/international with a single payload
[email protected] and that's the page that set the cookie
it returned some json with another url using userIdentifier= but it just hangs when i try to load it
the cookie set is then used during the actual sign-in at /signin
-----
EDIT:
i found the header name used, when loading /start it loads peacock_common.js?seed= and at the end of that string there is the header value "name" needed, the one you had posted before ak4ytpe4w0-a
it just changes every load, so progress at least
and then running peacock common through
https://deobfuscate.io yields something interesting that looks like maybe webassembly...