kali镜像文件:https://pan.baidu.com/s/1U-NpeYc7EUDtDJQjVs6Mng
kali版使用(kali自带)
- 终端中输入httrack回车
- 接下来是要求输入一个项目名称,自己填一个即可
- 保存的项目路径,这里选择根目录下的project文件夹
- 输入需要镜像的网站的url地址,这里直接将网站地址复制进去
- 第一次镜像的话这里先选择一个带有引导提示的模式来镜像网站,选择2回车
- 这里要我们输入代理,由于这里没用到代理所以直接回车
- 下一步是问我们要镜像那些文件,这里我用了通配符*表示全部
- 最后直接回车开始,问是否直接开始的时候输入y
不一会它提示我们镜像完毕
- 然后我们的根目录下就会出现一个project文件夹
点进去继续点
映入眼帘的第一个index打开,当然这里我kali里的浏览器不好使所以拖到本地真实机里来打开了
这里因为我中途kali崩了所以重装了一下,所获取的url变了,但大体思路还是同样的,完整的步骤如下
root@kali:~# httrack
Welcome to HTTrack Website Copier (Offline Browser) 3.49-2
Copyright (C) 1998-2017 Xavier Roche and other contributors
To see the option list, enter a blank line or try httrack --help
Enter project name :project
Base path (return=/root/websites/) :/root/project
Enter URLs (separated by commas or blank spaces) :https://home.firefoxchina.cn
Action:
(enter) 1 Mirror Web Site(s)
2 Mirror Web Site(s) with Wizard
3 Just Get Files Indicated
4 Mirror ALL links in URLs (Multiple Mirror)
5 Test Links In URLs (Bookmark Test)
0 Quit
: 1
Proxy (return=none) :
You can define wildcards, like: -*.gif +www.*.com/*.zip -*img_*.zip
Wildcards (return=none) :*
You can define additional options, such as recurse level (-r<number>), separated by blank spaces
To see the option list, type help
Additional options (return=none) :
---> Wizard command line: httrack https://home.firefoxchina.cn -O "/root/project/project" -%v *
Ready to launch the mirror? (Y/n) :Y
WARNING! You are running this program as root!
It might be a good idea to run as a different user
Mirror launched on Wed, 22 Jan 2020 17:44:06 by HTTrack Website Copier/3.49-2 [XR&CO'2014]
mirroring https://home.firefoxchina.cn * with the wizard help..
^C
Program terminated (signal 2)
root@kali:~# httrack
Welcome to HTTrack Website Copier (Offline Browser) 3.49-2
Copyright (C) 1998-2017 Xavier Roche and other contributors
To see the option list, enter a blank line or try httrack --help
Enter project name :project
Base path (return=/root/websites/) :/root/project
Enter URLs (separated by commas or blank spaces) :https://graph.qq.com/oauth2.0/show?which=Login&display=pc&response_type=code&client_id=101487368&redirect_uri=https%3A%2F%2Fpacaio.match.qq.com%2Fqq%2FloginBack%3Fsurl%3Dhttps%3A%2F%2Fwww.qq.com%2F&state=5b481c68e379d
Action:
(enter) 1 Mirror Web Site(s)
2 Mirror Web Site(s) with Wizard
3 Just Get Files Indicated
4 Mirror ALL links in URLs (Multiple Mirror)
5 Test Links In URLs (Bookmark Test)
0 Quit
: 1
Proxy (return=none) :
You can define wildcards, like: -*.gif +www.*.com/*.zip -*img_*.zip
Wildcards (return=none) :*
You can define additional options, such as recurse level (-r<number>), separated by blank spaces
To see the option list, type help
Additional options (return=none) :
---> Wizard command line: httrack https://graph.qq.com/oauth2.0/show?which=Login&display=pc&response_type=code&client_id=101487368&redirect_uri=https%3A%2F%2Fpacaio.match.qq.com%2Fqq%2FloginBack%3Fsurl%3Dhttps%3A%2F%2Fwww.qq.com%2F&state=5b481c68e379d -O "/root/project/project" -%v *
Ready to launch the mirror? (Y/n) :Y
WARNING! You are running this program as root!
It might be a good idea to run as a different user
Mirror launched on Wed, 22 Jan 2020 17:49:27 by HTTrack Website Copier/3.49-2 [XR&CO'2014]
mirroring https://graph.qq.com/oauth2.0/show?which=Login&display=pc&response_type=code&client_id=101487368&redirect_uri=https%3A%2F%2Fpacaio.match.qq.com%2Fqq%2FloginBack%3Fsurl%3Dhttps%3A%2F%2Fwww.qq.com%2F&state=5b481c68e379d * with the wizard help..
Done.
Thanks for using HTTrack!
*
但不得不说用kali版的httrack有点慢,当然这也可能是我自身网络的问题
win版httrack使用
下载地址:www.httrack.com
百度上的winhttrack使用教程:https://jingyan.baidu.com/article/c1a3101e7b2292de656debad.html
不过百度上的图有点小这里就再演示一次
- 打开程序,点击下一步
- 第一个空填写工程名,第二个可以不填,第三个是选择保存的本地路径
- 点击下一步之后进入填写url地址的页面,操纵中选择下载网站,web地址上直接把url粘贴进去,然后点击选项
- 先点高级
- 再点浏览器标识
- 把身份一栏选择为none
- 同一个界面再点高级
- 把更置链接修改为原始地址/原始地址
- 【确定】后点击【下一步】,进入下一个界面仍然默认下一步
镜像完成
到指定目录就能找到我们镜像的网站
但事实上镜像下来的网站并不一定能真的能打开,而且许多网站该软件是直接没办法镜像的,成功率有点凄惨....... Deeeelete 发布了19 篇原创文章 · 获赞 0 · 访问量 348 私信 关注