Yanirmr
Yanirmr

Reputation: 1032

How to extract files from saz file?

I exported a session from Fiddler to saz files. This session includes only jpg files and I'm wondering - how can I extract the jpg files from saz quickly and easily?

Thanks!

Upvotes: 5

Views: 11974

Answers (2)

Karl Pearson
Karl Pearson

Reputation: 29

Fiddler now requires a password to work, and I'm not willing to register.

First, I create a folder and put the .saz file inside Second, I change to that directory and use unzip to extract the files because a saz file is a standard archive Third, I open _index.htm with any browser and click the links in the index file

Have fun.

Upvotes: 1

pmqs
pmqs

Reputation: 3705

The easiest way to extract the JPEG files is to use Fiddler itself. Fiddler allows you to load a SAZ file (under File/Load Archive..).

enter image description here

Once loaded, just right-click on the HTTP message with the JPEG and select Save/Response/Response Body....

enter image description here

If you want to do it the hard way, a SAZ file is just a zip file. Below is from the Fiddler FAQ page

SAZ files are simply specially formatted .ZIP files. If you rename a .SAZ file to .ZIP, you can open it for viewing using standard ZIP viewing tools.

According to the FAQ, the HTTP payload data is stored in a directory called raw. The JPEG data will be in one of the sessid#_s.txt files, but embedded in a HTTP response message. Strip the HTTP headers to get the JPEG (assuming there is no extra encoding in the HTTP message).

sessid#_s.txt - contains the raw server request

Upvotes: 4

Related Questions