【问题标题】:Is it possible to decrypt gzip information?是否可以解密 gzip 信息?
【发布时间】:2011-12-02 23:07:49
【问题描述】:

我在 Google 上使用 Fiddler,我注意到内容类型 json 到达如下:

HTTP/1.1 200 OK
Date: Fri, 02 Dec 2011 22:55:56 GMT
Expires: -1
Cache-Control: no-cache, must-revalidate
Content-Type: application/json; charset=UTF-8
Pragma: no-cache
Content-Disposition: attachment
Content-Encoding: gzip
Server: gws
Content-Length: 317
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN

--some big big big big encoded stuff here...--

所以问题是:我可以使用一些工具或创建一些代码来解压缩这个结果,看看--some big big big big encoded stuff here...--里面是什么吗?

【问题讨论】:

  • 在这里勉强出去,但你试过gzip吗?尤其是二进制有效负载上的 gzcat?
  • 您还可以删除“Accept-Encoding: gzip”客户端标头,以便服务器回复纯文本而不是压缩。

标签: json gzip fiddler unzip


【解决方案1】:

看来我可以点击左侧面板上的请求,然后选择 Fiddler 右下面板,点击 Transformer 选项卡,取消选中 Chunked Transfer-Encoding 并点击无压缩

然后点击Raw标签。

【讨论】:

    猜你喜欢
    • 2014-09-27
    • 2021-07-04
    • 2010-12-01
    • 2014-05-03
    相关资源
    最近更新 更多