2016-04-25 19:19:26 +02:00
|
|
|
FROM debian:sid
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Christian Koep <christian.koep@fom-net.de>"
|
2016-04-25 19:19:26 +02:00
|
|
|
|
2016-10-08 08:31:44 +02:00
|
|
|
ENV ROUTERSPLOIT_VERSION v2.2.1
|
|
|
|
|
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" ]
|