在使用tar命令的时候报错了 gzip: stdin: not in gzip format
在使用tar命令的时候报错了
[root@localhost ~]# tar zxvf thc-ssl-dos-1.4.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
问题是因为这个下载的文件 根本不是压缩文件,而是 网页
可以看一下
[root@localhost ~]# file thc-ssl-dos-1.4.tar.gz
thc-ssl-dos-1.4.tar.gz: UTF-8 Unicode HTML document text, with very long lines
更直接的是可以使用cat查看,因为众所周知linux文类型和后缀没有关系
我们虽然看到的是压缩文件
我们 可以查看一下,实际就是一个文件而不是压缩包
[root@localhost ~]# more thc-ssl-dos-1.4.tar.gz
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="dns-prefetch" href="https://github.githubassets.com">
<link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars2.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars3.githubusercontent.com">
<link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com">
<link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">
<link crossorigin="anonymous" media="all" integrity="sha512-BmnGTzITfSCD9SKlVfngZdzNq8Fa33lRq00rF1eRsg4zcCH3VtX8QtS6687+5GdeaVj1LzKyLj6+oXJLcswj6w==" rel="stylesh
eet" href="https://github.githubassets.com/assets/frameworks-0669c64f32137d2083f522a555f9e065.css" />
<link crossorigin="anonymous" media="all" integrity="sha512-IX5BoM4/CZcF+rw+yhDLhCjHTA1gz+F8rA3dQU3p7CFWAx1qGb+MVztQXTLG7jyLCn2kDGNZkp3pHjbL9Ac4kw==" rel="stylesh
eet" href="https://github.githubassets.com/assets/site-217e41a0ce3f099705fabc3eca10cb84.css" />
<link crossorigin="anonymous" media="all" integrity="sha512-0IGYt6nc+cz/zU4CV44Lb8IcwmWQlYmSAHsCzOtlyo8lLyvQz1jNirl1Ld8CbxalQ5fCiFufvxPm5RLVW+Mo4Q==" rel="style
sheet" href="https://github.githubassets.com/assets/github-d08198b7a9dcf9ccffcd4e02578e0b6f.css" />
<meta name="viewport" content="width=device-width">
<title>THC-Archive/thc-ssl-dos-1.4.tar.gz at master ? vanhauser-thc/THC-Archive ? GitHub</title>
<meta name="description" content="All releases of the security research group (a.k.a. hackers) The Hacker's Choice - vanhauser-thc/THC-Archive">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
<meta property="fb:app_id" content="1401488693436528">
看吧,确实是网页
因此,解决的方法是重新去下载压缩文件
米趣网免责声明
1、本站所有模板素材资源均来自用户分享和网络收集,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服,我们核实后会立即删除。2、米趣网作为第三方中介平台,依据交易合同(商品描述、交易前商定的内容)来保障交易的安全及买卖双方的权益。
3、非平台线上交易的项目,出现任何后果均与米趣网无关;无论卖家以何理由要求线下交易的,请联系管理举报。
注意事项
1、本站所有素材资源均来自用户分享和发布,部分未经测试可用,并不保证百分百无误及完整。2、素材资源仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。
3、米趣网会对双方交易的过程及交易商品的快照进行永久存档,以确保交易的真实、有效、安全。
4、米趣网无法对如“永久包更新”、“永久技术支持”等类似交易之后的商家承诺做担保,请买家自行鉴别。