You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i have problem decoding amf data included with this character �
this is my code :
def decodeEnvelope(self, resp):
# Decode the Base64 encoded response to bytes
decoded_bytes = base64.b64decode(resp)
# Attempt to decode the bytes as unicode with ignoring errors
decoded_data = decoded_bytes.decode('latin-1', errors='ignore')
# Decode the AMF (Action Message Format) data directly
try:
decodedAMF = remoting.decode(decoded_data)
return decodedAMF
except Exception as e:
print(f"Failed to decode AMF data: {e}")
return None
and the resp data is AAAAAAABAAsvMS9vblJlc3VsdAAEbnVsbAAAAuIDAAZzdGF0dXMAP/AAAAAAAAAABWVycm9yAAAAAAAAAAAAAAN1aWQCAAYzNjAxMDkACnNlc3Npb25rZXkCACAxMGE5YjY0YzgxMDdiM2M5NWE1YTVhZDMwMDBjYmI5NgAEaGFzaAIAQGY3ZmFmMzlmYzA1OGEyNzFmZTNmNzRlMzE0Njc3MTg4ZGExN2ZhZmNmZjk3OGQ3MjExNTZlMTNkMmYwOWU0MDcAC3N5c3RlbV90aW1lAgAKdHNqS2lRSFdvUgAEbmV3cwIB8U5ld3M8YnI+LSA5MCsgTGV2ZWwgc2tpbGxzIGFyZSBub3cgYXZhaWxhYmxlIGluIHRoZSBhY2FkZW15ITxicj4tIEVtYmxlbSsgaXMgbm93IGF2YWlsYWJsZSE8YnI+LSBOZXcgRXh0cmVtZSBUYWxlbnQgQ2F0YWNseXNtIGlzIG5vdyBhdmFpbGFibGUhPGJyPi0gTmV3IFBldHMgYXJlIGF2YWlsYWJsZSBpbiBlYWNoIHZpbGxhZ2VzIHBldCBzaG9wITxicj4tIEdlYXIgRmlsdGVycyBhcmUgbm93IGF2YWlsYWJsZSBmb3IgRW1ibGVtKyE8YnI+LSBTa2lsbCBQcmVzZXQgdXBkYXRlZCAzIHNsb3RzL2ZyZWUgdXNlciwgNiBzbG90cy9lbWJsZW0sIDkgc2xvdHMvZW1ibGVtKzxicj48YnI+QnVnIEZpeGVzPGJyPi0gRml4ZWQgYW4gaXNzdWUgd2l0aCBDbGFuIFNob3AsIHNvbWUgaXRlbXMgd2VyZW6SdCBidXlhYmxlLjxicj4tIEZpeGVkIGFuIGlzc3VlIHdpdGggRXllIG9mIE1pcnJvciBUaXRhbiB3aGVuIHVzaW5nIFN1cnByaXNlIEF0dGFjayBDbGFzcyBhbmQgU2VuanV0c3UuAAtjbGFuX3NlYXNvbgIAAjM2AAtjcmV3X3NlYXNvbgIAATUAAAk=
The text was updated successfully, but these errors were encountered:
Hi, i have problem decoding amf data included with this character �
this is my code :
and the resp data is AAAAAAABAAsvMS9vblJlc3VsdAAEbnVsbAAAAuIDAAZzdGF0dXMAP/AAAAAAAAAABWVycm9yAAAAAAAAAAAAAAN1aWQCAAYzNjAxMDkACnNlc3Npb25rZXkCACAxMGE5YjY0YzgxMDdiM2M5NWE1YTVhZDMwMDBjYmI5NgAEaGFzaAIAQGY3ZmFmMzlmYzA1OGEyNzFmZTNmNzRlMzE0Njc3MTg4ZGExN2ZhZmNmZjk3OGQ3MjExNTZlMTNkMmYwOWU0MDcAC3N5c3RlbV90aW1lAgAKdHNqS2lRSFdvUgAEbmV3cwIB8U5ld3M8YnI+LSA5MCsgTGV2ZWwgc2tpbGxzIGFyZSBub3cgYXZhaWxhYmxlIGluIHRoZSBhY2FkZW15ITxicj4tIEVtYmxlbSsgaXMgbm93IGF2YWlsYWJsZSE8YnI+LSBOZXcgRXh0cmVtZSBUYWxlbnQgQ2F0YWNseXNtIGlzIG5vdyBhdmFpbGFibGUhPGJyPi0gTmV3IFBldHMgYXJlIGF2YWlsYWJsZSBpbiBlYWNoIHZpbGxhZ2VzIHBldCBzaG9wITxicj4tIEdlYXIgRmlsdGVycyBhcmUgbm93IGF2YWlsYWJsZSBmb3IgRW1ibGVtKyE8YnI+LSBTa2lsbCBQcmVzZXQgdXBkYXRlZCAzIHNsb3RzL2ZyZWUgdXNlciwgNiBzbG90cy9lbWJsZW0sID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