Dockerfile
395 Bytes
FROM python:3.6
RUN apt update && apt install vim net-tools iputils-ping ssh -y
RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
RUN echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config
COPY requirements.txt /tmp/requirements.txt
RUN python -m pip install -r /tmp/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
WORKDIR /routersploit
COPY . .
CMD ["python", "rsf.py"]