Docker部署pocassist


Docker 部署 pocassist

一、介绍

简介:一款全新的开源漏洞测试框架,实现 poc 在线编辑、运行、批量测试。
github:https://github.com/jweny/pocassist/
pocassist 官网:https://pocassist.jweny.top/

二、部署

  1. 新建目录
mkdir pocassist && cd pocassist
  1. 下载 pocassist
wget https://github.com/jweny/pocassist/releases/download/1.0.1/pocassist_linux_amd64.zip
  1. 下载 pocassistdb
wget https://github.com/jweny/pocassistdb/releases/download/1.0.2/pocassistdb.zip
  1. 编写 Dockerfile
FROM centos:latest
RUN yum -y upgrade
RUN yum -y update glibc
RUN mkdir /pocassist
ADD pocassist_linux_amd64.zip /pocassist
ADD pocassistdb.zip /pocassist
RUN yum -y install unzip
RUN cd /pocassist && unzip pocassist_linux_amd64.zip && unzip pocassistdb.zip
WORKDIR /pocassist
CMD ./pocassist_linux_amd64
  1. 编写 docker-compose.yml
version: '3'
services:
  pocassist:
    build: .
    ports:
      - "1231:1231"
  1. 构建
docker-compose build
  1. 启动
docker-compose up -d

三、访问

http://IP:1231


文章作者: Truda
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Truda !
评论
  目录