From 5f527a2732bbf4170ef11c278dd2751d00c6fd52 Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 26 Apr 2016 22:11:51 +0800 Subject: [PATCH] add routersploit --- README.md | 1 + routersploit/Dockerfile | 31 +++++++++++++++++++++++++++++++ routersploit/Dockerfile.arm | 31 +++++++++++++++++++++++++++++++ routersploit/README.md | 4 ++++ 4 files changed, 67 insertions(+) create mode 100644 routersploit/Dockerfile create mode 100644 routersploit/Dockerfile.arm create mode 100644 routersploit/README.md diff --git a/README.md b/README.md index ed5086d..eb84c41 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ dockerfiles - [x] pure-ftpd - [x] redis-arm - [x] revive +- [x] routersploit - [x] rsyncd - [x] rtmp - [x] samba :+1: diff --git a/routersploit/Dockerfile b/routersploit/Dockerfile new file mode 100644 index 0000000..fd82b85 --- /dev/null +++ b/routersploit/Dockerfile @@ -0,0 +1,31 @@ +# +# Dockerfile for routersploit +# + +FROM alpine +MAINTAINER EasyPi Software Foundation + +WORKDIR /app + +RUN set -xe \ + && apk add -U bash \ + build-base \ + curl \ + ncurses-dev \ + python \ + python-dev \ + readline-dev \ + tar \ + && curl -sSL https://bootstrap.pypa.io/get-pip.py | python \ + && curl -sSL https://github.com/reverse-shell/routersploit/archive/master.tar.gz | tar xz --strip 1 \ + && pip install -r requirements.txt \ + && apk del bash \ + build-base \ + curl \ + ncurses-dev \ + python3-dev \ + readline-dev \ + tar \ + && rm -rf /var/cache/apk/* + +ENTRYPOINT ["/app/rsf.py"] diff --git a/routersploit/Dockerfile.arm b/routersploit/Dockerfile.arm new file mode 100644 index 0000000..6e25e24 --- /dev/null +++ b/routersploit/Dockerfile.arm @@ -0,0 +1,31 @@ +# +# Dockerfile for routersploit-arm +# + +FROM easypi/alpine-arm +MAINTAINER EasyPi Software Foundation + +WORKDIR /app + +RUN set -xe \ + && apk add -U bash \ + build-base \ + curl \ + ncurses-dev \ + python \ + python-dev \ + readline-dev \ + tar \ + && curl -sSL https://bootstrap.pypa.io/get-pip.py | python \ + && curl -sSL https://github.com/reverse-shell/routersploit/archive/master.tar.gz | tar xz --strip 1 \ + && pip install -r requirements.txt \ + && apk del bash \ + build-base \ + curl \ + ncurses-dev \ + python3-dev \ + readline-dev \ + tar \ + && rm -rf /var/cache/apk/* + +ENTRYPOINT ["/app/rsf.py"] diff --git a/routersploit/README.md b/routersploit/README.md new file mode 100644 index 0000000..f083a1f --- /dev/null +++ b/routersploit/README.md @@ -0,0 +1,4 @@ +routersploit +============ + +The Router Exploitation Framework.