Commit 804db022 by fwkz

Merge branch 'masterkorp-feature/docker'

parents b94875ca 23e35b7d
FROM python:2.7
WORKDIR /routersploit
RUN git clone https://github.com/reverse-shell/routersploit/ .
RUN pip install -r requirements.txt
CMD ["python", "rsf.py"]
\ No newline at end of file
# Makefile that aggregates common chores before commit # Makefile that aggregates common chores before commit
.PHONY: all clean lint lint-modules test build update run help
MODULE='' MODULE=''
all: lint test all: lint test
...@@ -18,6 +20,15 @@ lint-modules: ...@@ -18,6 +20,15 @@ lint-modules:
test: clean test: clean
./run_tests.sh $(MODULE) ./run_tests.sh $(MODULE)
build:
docker build -t routersploit:latest -f Dockerfile .
update:
./run_docker.sh git pull
run:
./run_docker.sh
help: help:
@echo " clean" @echo " clean"
@echo " Remove python artifacts." @echo " Remove python artifacts."
......
...@@ -46,6 +46,12 @@ It consists of various modules that aids penetration testing operations: ...@@ -46,6 +46,12 @@ It consists of various modules that aids penetration testing operations:
sudo pip install -r requirements.txt sudo pip install -r requirements.txt
./rsf.py ./rsf.py
# Running on Docker
Set up docker [for your platform](https://docs.docker.com/)
> ./run_docker.sh
# Update # Update
Update RouterSploit Framework often. Project is under heavy development and new modules are shipped almost everyday. Update RouterSploit Framework often. Project is under heavy development and new modules are shipped almost everyday.
......
#!/usr/bin/env bash
if [ -z $1 ] ; then
docker run -it --net host --rm routersploit
else
docker run -it --net host --rm routersploit $@
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment