克隆网址 便于利用

  1. 安装httrack
root@kali:~# apt-get install httrack

  1. 创建存储库
root@kali:~# mkdir mywebsites
  1. 打开httrack
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

  1. 创建项目
Enter project name :  项目名
Base path (return=/root/websites/) :/root/mywebsites    保存路径         

Enter URLs (separated by commas or blank spaces) :目标域名

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
: 2

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: httrac-W -O "/root/mywebsites/"  -%v  *

Ready to launch the mirror? (Y/n) :y                    //yes

WARNING! You are running this program as root!
It might be a good idea to run as a different user
Mirror launched on Tue, 21 May 2019 02:58:32 by HTTrack Website Copier/3.49-2 [XR&CO'2014]
mirroring  * with the wizard help..
Done.
Thanks for using HTTrack!
* 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值