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 enter image description here

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.

taken http://www.fiddlerbook.com/fiddler/help/composer.asp


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -