zoukankan      html  css  js  c++  java
  • 2.kali部署vulhub

    0x01. 安装docker

    推荐官方教程

    安装依赖

    # 前提已经更换国内源了
    sudo apt-get update
    
    sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
    

    安装key ( 官方的那个好像 , 后面下载docker-ce出差错 )

    curl -fsSL https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian/gpg | sudo apt-key add -
    
    echo 'deb https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian/ buster stable' | sudo tee /etc/apt/sources.list.d/docker.list
    

    安装引擎

     sudo apt-get update
     sudo apt-get install docker-ce docker-ce-cli containerd.io
    

    安装docker-compose

    apt-get install docker-compose
    

    测试

    sudo systemctl start docker
    docker run hello-world
    

    0x02. 安装vulhub

    如果git比较慢 , 可以下载master压缩包也行 , 推荐手机4G下载

    # Download the latest version of the vulhub 
    git clone https://github.com/vulhub/vulhub.git  
    
    # Entry vulnerability directory 
    cd /path/to/vuln/   ( 人话 : 进入到那个漏洞目录 )
    
    # Compile (optional) 
    docker-compose build 
    
    # Run 
    docker-compose up -d 
    
    # stop
    docker-compose down
    

    0x03. 演示

    以dns域传送漏洞为例

    1.进入漏洞目录
    cd dns
    cd dns-zone-transfer
    
    2.直接搭建环境
    docker-compose up -d 
    
    3.漏洞复现
    dig @your-ip -t axfr vulhub.org
    
    4.关闭环境
    docker-compose down
    
  • 相关阅读:
    人脸旋转 《转》
    深度学习如何入门?<知乎>
    openGL-------------别人的博客
    如何实现视频的快进快退功能(转)
    MFC+OpenGL基础绘制<转>
    野蒜
    人脸识别68个点<转>
    cv::circle《转》
    HTML5 Canvas之猜数字游戏
    LIRe 源代码分析 3:基本接口(ImageSearcher)
  • 原文地址:https://www.cnblogs.com/xcymn/p/15712454.html
Copyright © 2011-2022 走看看