This is a migrated thread and some comments may be shown as answers.

How to tamper a MS word document being downloaded from a website

3 Answers 122 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
jjs
Top achievements
Rank 1
jjs asked on 27 Dec 2015, 02:55 PM
I am testing a website.  I had success in altering the HTTP request and headers etc - as a man in the middle.  Now I want to be able to alter the contents of an MS Word (.doc or .docx) or .txt file being downloaded by the browser.  I am unable to do it. Can any body tell me how this can be done.  Please help. 

3 Answers, 1 is accepted

Sort by
0
Accepted
Eric Lawrence
Telerik team
answered on 28 Dec 2015, 03:52 PM
Hi, jjs--

It would be helpful if you explain exactly what you've tried to do thus far, and what exactly happened when you did it. Modification of text files is no different than modification of HTML files; modification of .doc/.docx files is only slightly different insofar as you need to use the Inspectors that work with binary content (e.g. the HexView) and avoid those that only work with textual content (e.g. the TextView).

Regards,
Eric Lawrence
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
jjs
Top achievements
Rank 1
answered on 03 Jan 2016, 08:58 AM

Hi Eric, thank you for your reply.  It helped me take another look at the HTTP response being intercepted and I realised that the content of the file being downloaded too was available in the intercepted response body.  I was able to make modifications to the text portions of the .doc or .xls file that was being downloaded.  I was able to get my work done.  

Thank you.

Regards,

JJS Anand.

0
Boyan Boev
Telerik team
answered on 04 Jan 2016, 09:23 AM
Hello JJS Anand,

We are glad you have done your work!

Regards,
Boyan Boev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
jjs
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
jjs
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or