在使用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">
<meta name="twitter:image:src" content="https://avat
看吧,确实是网页
因此,解决的方法是重新去下载压缩文件