Closed Twace closed 1 year ago
sending pure bytes over py3amf sends them as a string. In order to send a bytearray, use:
hexadecimal_bytes_string = "FFEEDDCCBBAA99887766554433221100"
_bytes = binascii.unhexlify(hexadecimal_bytes_string)
bytearr = amf3.ByteArray(_bytes)
checksum has to be fixed, but its a start. This is the only way of sending a byte array i have found that does it properly AND preserves the state of the data
Unauthorized response by making request with method that has ByteArray
n.b. you can download
Gateway.aspx
here or upload an photo in MovieStarPlanet and right click on the request on Charles then save RequestAlso, the checksum isn't the same than the original request
I think issue is due to the calculation of checksum of pyamf.amf3.ByteArray object
The request works if I change checksum by the one in the scraped request