zoukankan      html  css  js  c++  java
  • Vulhub-漏洞环境的搭建(详细版)

    安装Vulhub需要的基础环境

    更新现有的软件

    sudo apt-get update
    sudo apt-get upgrade
    

    安装Docker

    # 安装脚本
    curl -fsSL https://get.docker.com -o get-docker.sh
    sh get-docker.sh
    
    # 测试脚本
    curl -fsSL https://test.docker.com -o test-docker.sh
    sh test-docker.sh
    

      

    'curl' not found 报错

    Command 'curl' not found, but can be installed with:

    apt install curl  # 安装curl插件
    

    安装Docker-compose

    apt install python-pip
    pip install docker-compose  
    

    获取Vulhub项目

    下载Vulhub

    # Download project
    wget https://github.com/vulhub/vulhub/archive/master.zip -O vulhub-master.zip
    unzip vulhub-master.zip
    cd vulhub-master

    因为是国外服务器可能会出现断连等问题,可以直接下载下来,复制到虚拟机里面

    漏洞环境的使用

    cd vulhub-master/aria2/rce  # 进入需要开启的漏洞路径
    docker-compose up -d
    

    访问不同环境对应的端口即可

      

  • 相关阅读:
    【LeetCode】543. 二叉树的直径
    红色的眼睛黑色的心
    WinForm
    Windows地址栏的妙用
    C#
    WPF
    配置Notepad++万能调试
    盗取连接你wifi的人的qq
    Windows去除开始菜单图标背景
    解决Windows下文件无法删除的问题
  • 原文地址:https://www.cnblogs.com/R-S-PY/p/12131838.html
Copyright © 2011-2022 走看看