Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错解决 #170

Open
wpsec opened this issue Jan 10, 2024 · 1 comment
Open

报错解决 #170

wpsec opened this issue Jan 10, 2024 · 1 comment

Comments

@wpsec
Copy link

wpsec commented Jan 10, 2024

使用docker-compose构建

  1. 在宿主机git clone https://github.com/0x727/ShuiZe_0x727.git
  2. 进入ShuiZe_0x727创建Dockerfile与docker-compose.yml文件

Dockerfile

FROM yankovg/python3.8.2-ubuntu18.04
WORKDIR /

#RUN export https_proxy=http://192.168.188.85:7899
#RUN export http_proxy=http://192.168.188.85:7899
RUN apt update -y
RUN apt install git --fix-missing -y
RUN rm /usr/bin/python3
RUN ln -s /usr/local/bin/python3.8 /usr/bin/python3
RUN python3 -m pip install --upgrade pip
RUN git clone https://github.com/0x727/ShuiZe_0x727
WORKDIR /ShuiZe_0x727
RUN chmod 777 ./docker_build.sh
RUN ./docker_build.sh
ENTRYPOINT [ "python3","/ShuiZe_0x727/ShuiZe.py" ]

docker-compose.yml

version: "3"
services:
  shuize:
    container_name: shuize
    image: shuize:latest
    build:
      context: .
      dockerfile: Dockerfile
    volumes:
      - ./iniFile:/ShuiZe_0x727/iniFile
      - ./result:/ShuiZe_0x727/result
    command:
      -d baidu.com

出现Killing shuize ... done说明构建成功,可以直接ctrl+c
进入容器使用工具

docker container exec -it id /bin/bash

在宿主机result目录里可以直接看到扫描完的xlsx文件
可在iniFile目录里配置一些信息

@LOVER-xin
Copy link

赞😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants