Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
routersploit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
czos-dpend
routersploit
Commits
23e35b7d
Commit
23e35b7d
authored
8 years ago
by
fwkz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Docker
parent
f075e3db
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
10 deletions
+22
-10
Dockerfile
Dockerfile
+4
-10
Makefile
Makefile
+11
-0
run_docker.sh
run_docker.sh
+7
-0
No files found.
Dockerfile
View file @
23e35b7d
FROM
python:2.7
WORKDIR
/r
sf
WORKDIR
/r
outersploit
COPY
requirements.txt /rsf
RUN
git clone https://github.com/reverse-shell/routersploit/ .
RUN
pip install
-r
requirements.txt
COPY
rsf.py /rsf
COPY
run_linter.sh /rsf
COPY
run_tests.sh /rsf
COPY
tox.ini /rsf
COPY
./routersploit /rsf/routersploit
CMD
/rsf/rsf.py
CMD
["python", "rsf.py"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile
View file @
23e35b7d
# Makefile that aggregates common chores before commit
.PHONY
:
all clean lint lint-modules test build update run help
MODULE
=
''
all
:
lint test
...
...
@@ -18,6 +20,15 @@ lint-modules:
test
:
clean
./run_tests.sh
$(MODULE)
build
:
docker build
-t
routersploit:latest
-f
Dockerfile .
update
:
./run_docker.sh git pull
run
:
./run_docker.sh
help
:
@
echo
" clean"
@
echo
" Remove python artifacts."
...
...
This diff is collapsed.
Click to expand it.
run_docker.sh
0 → 100755
View file @
23e35b7d
#!/usr/bin/env bash
if
[
-z
$1
]
;
then
docker run
-it
--net
host
--rm
routersploit
else
docker run
-it
--net
host
--rm
routersploit
$@
fi
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment