当前位置:网站首页>【Try to Hack】vulhub靶场搭建
【Try to Hack】vulhub靶场搭建
2022-06-25 14:22:00 【开心星人】
博客主页:开心星人的博客主页
系列专栏:Try to Hack
欢迎关注点赞收藏️留言
首发时间:2022年6月24日
作者水平很有限,如果发现错误,还望告知,感谢!
Vulhub是一个基于docker和docker-compose的漏洞环境集合,进入对应目录并执行一条语句即可启动一个全新的漏洞环境,让漏洞复现变得更加简单,让安全研究者更加专注于漏洞原理本身。
vulhub官网:https://vulhub.org/
docker官方文档:https://docs.docker.com/engine/install/#server
1、apt-get update
apt-get update 更新软件源中的所有软件列表。
apt-get upgrade 更新软件。
apt-get dist-upgrade 更新系统版本。如果你对新版本软件的需求不是那么迫切,可以不执行
2、卸载旧版本的docker sudo apt-get remove docker docker-engine docker.io containerd runc
已经卸载完docker了
3、安装https协议及CA证书apt-get install -y apt-transport-https ca-certificates
我这边是已经安装过了的
4、安装dockerapt install docker.io
5、docker -v
6、启动dockersystemctl start docker
7、查看开启的环境docker ps -a
8、安装pip3apt-get install python3-pip
因为我安装过了,这里进行了更新
9、安装docker-compose
由于Docker-compose基于Python开发,所以我们可以使用pip进行安装。Compose 是用于定义和运行多容器 Docker 应用程序的工具。通过 Compose,您可以使用 YML 文件来配置应用程序需要的所有服务。然后,使用一个命令,就可以从 YML 文件配置中创建并启动所有服务。pip3 install docker-compose
10、检验docker是否安装完成docker run hello-world
11、下载vulhubgit clone https://github.com/vulhub/vulhub.git
12、进入nginx/CVE-2013-4547路径cd vulhub-master/nginx/CVE-2013-4547 
readme值得一看
有漏洞复现和其他的一些介绍
13、将镜像拉到本地docker-compose build 
14、启动漏洞环境docker-compose up -d
15、查看开启的环境docker ps -a
浏览器访问对应端口号即可
边栏推荐
- QT memory mapping
- API encapsulation of uniapp applet
- Mysql database compressed backup_ Summary of MySQL backup compression and database recovery methods
- laravel8实现图片验证码
- Which is better and safer, GF easy gold rush or flush
- Installation and removal of MySQL under Windows
- 广发易淘金和同花顺哪个更好,更安全一些
- Add a string at the input and textarea cursors
- Summary of common functions in Oracle Database
- Uniapp cloud packaging app
猜你喜欢

Why should programmers be softer?

Does stream even have application advanced learning? As a programmer, you know what

As a software testing engineer, how do you think to ensure software quality?

Today in history: Netease was founded; The first consumer electronics exhibition was held; The first webcast in the world

JVM uses tools to analyze classic cases of OOM

JS to add elements to the header, or tail of an array

Thymeleaf Usage Summary

使用sphinx根据py源文件自动生成API文档

Nine parts of speech and nine tenses in English

Variables, scopes, and variable promotion
随机推荐
[world history] Episode 1: people in the Stone Age
Uniapp icon configuration
Asp. Net webform exporting excel using npoi
【HBZ分享】LockSupport的使用
成员变量与局部变量的区别
JS component
How to choose a technology stack for web applications in 2022
Custom instruction, mixing, routing, lifecycle
JVM uses tools to analyze classic cases of OOM
Clinical chemistry | zhangjianzhong / Xu Jian develop single cell precision diagnosis and treatment technology for Helicobacter pylori
None of the MLIR Optimization Passes are enabled (registered 2)解决办法
QT memory mapping
Discriminative v.s.Generative
sigmoid函数sigmoid求导
广发易淘金和同花顺哪个更好,更安全一些
Pourquoi les programmeurs devraient - ils être plus doux?
Les neuf caractéristiques de la parole et les neuf temps en anglais
About reconnection of STM32 using lan8720a plug-in network cable
shell 运算符
Mutationobserver listens for DOM changes