2016-04-25 19:19:26 +02:00
|
|
|
FROM debian:sid
|
2017-04-04 09:19:34 +02:00
|
|
|
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
2016-04-25 19:19:26 +02:00
|
|
|
|
2018-06-11 17:57:46 +02:00
|
|
|
ENV ROUTERSPLOIT_VERSION v3.1.0
|
2016-10-08 08:31:44 +02:00
|
|
|
|
2016-04-25 19:19:26 +02:00
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
git \
|
|
|
|
python-requests \
|
|
|
|
python-paramiko \
|
2016-05-08 20:11:25 +02:00
|
|
|
python-pysnmp-common \
|
|
|
|
python-bs4 \
|
2016-04-25 19:19:26 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
2016-12-28 02:04:58 +01:00
|
|
|
&& git clone --depth 1 --branch "${ROUTERSPLOIT_VERSION}" https://github.com/reverse-shell/routersploit /usr/bin/routersploit \
|
2016-04-25 19:19:26 +02:00
|
|
|
&& apt-get purge -y --auto-remove \
|
|
|
|
git
|
|
|
|
|
|
|
|
WORKDIR "/usr/bin/routersploit/"
|
|
|
|
ENTRYPOINT [ "./rsf.py" ]
|