Kali虚拟机安装reNgine 失败解决办法
Kali虚拟机安装reNgine
1. VPS安装需要修改
1. /reNgine/web/Dockerfile
点击查看代码
# Download and install go 1.19
RUN wget https://go.dev/dl/go1.19.5.linux-amd64.tar.gz
RUN tar -xvf go1.19.5.linux-amd64.tar.gz
RUN rm go1.19.5.linux-amd64.tar.gz
RUN mv go /usr/local
2.
点击查看代码
# Copy requirements
COPY ./requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
2.国内虚拟机kali安装
1.需要使用proxychains4链接外网
vi /etc/proxychains4.conf
2.修改Dockerfile
点击查看代码
# Download and install go 1.18
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.io
RUN wget https://go.dev/dl/go1.19.5.linux-amd64.tar.gz
RUN tar -xvf go1.19.5.linux-amd64.tar.gz
RUN rm go1.19.5.linux-amd64.tar.gz
RUN mv go /usr/local
点击查看代码
# Copy requirements
COPY ./requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
点击查看代码
# Install essentials 此部分不是必须改的,如果涉及docker部分下载可以修改。
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& mkdir ~/.pip/ \
&& echo '[global]' > ~/.pip/pip.conf \
&& echo 'index-url = https://mirrors.aliyun.com/pypi/simple/' >> ~/.pip/pip.conf
proxychains4 ./install.sh
参考:
https://github.com/yogeshojha/rengine/issues/803
https://discord.com/channels/880363103689277461/880363161809747988
https://blog.csdn.net/qq_37683287/article/details/108693442