fiddler - decode custom encrypted body in inspector by c# on the fly -
the content encrypt custom encrypter. fiddler captured content body base64 encode string in plain text
the application traffic flow:
request:
base64encode(customencryptfromstringtobytes(jsonstring) ) -> application -> http server
response:
customdecryptfrombytestostring(base64decode(jsonstring) ) <- application <- http server
i have encrypt/decrypt class in c#: string encrypttobase64(string plaintext); string decryptfrombase64(string plaintext);
i build exe transform, wonder how make fiddler decode request/respose body exe on fly
i want fiddler show decrypt content in inspector , , encrypt again everytime [reissue , edit(e)] request.
i found close dont know how call exe decode. http://docs.telerik.com/fiddler/knowledgebase/fiddlerscript/modifyrequestorresponse
update: have implement custom inspector fiddler. see answer below.
add dummy header
fiddler-encoding: base64
and encode body using base64 if contains binary data. fiddler decode data before transmitting server.
Comments
Post a Comment