httrack可以克隆网站,将目标网站所有页面复制一份,httrack是专门针对web应用程序服务器进行探测,拷贝目标服务器到本地的主要作用是在探测尽量减少与目标主机产生交互

以下是具体操作

Welcome to HTTrack Website Copier (Offline Browser) 3.49-2+libhtsjava.so.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 :dvwa

Base path (return=/root/websites/) :/root/dvwa

Enter URLs (separated by commas or blank spaces) :http://192.168.3.27/dvwa

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) # 镜像URL所有链接
5 Test Links In URLs (Bookmark Test) # 测试URL的所有链接
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: httrack http://192.168.3.27/dvwa -W -O "/root/dvwa/dvwa" -%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 Thu, 22 Jul 2021 23:56:17 by HTTrack Website Copier/3.49-2+libhtsjava.so.2 [XR&CO'2014]
mirroring http://192.168.3.27/dvwa * with the wizard help..