Deprecated! Go to the Pathwar monorepo: https://github.com/pathwar/pathwar
Set of tools to create levels on Pathwar.
We worked hard to make the levels runnable on any machine running docker and we are still working hard to make the publishing as easy as possible.
This repository will help you to begin in the level-writing, don't hesitate to ask anything, or open an issue.
- skeleton: Contains the
/pathwar
directory - mk: Contains the
.mk
files included byMakefile
on levels and improve the confort of level development - templates: Templates for common levels in multiple languages with examples
Name | Versions | Links |
---|---|---|
apache-php | 5.6.4 | Code, Examples |
nodejs | 0.10.34 | Code, Examples |
nginx | 1.7.8 | Code, Examples |
ruby | 2.1.5 | Code, Examples |
supervisord | n/a | Code, Examples |
golang | 1.4.3 | Code, Examples |
phantomjs | 1.9.8 | Code, Examples |
python | 2.7.9, 3.3.6, 3.4.2 | Code, Examples, Docker |
All templates support standard and onbuild modes.
Level requirements (see level-helloworld)
- have a
docker-compose.yml
defining the level, you can have multiple linked containers, multiple ports. (example) - even if you can run levels without any
Dockerfile
usingdocker-compose
, you need to have at least one Dockerfile inheriting from acore
template (this repository), so we can integrate your level with our system. (example) - a
level.yml
file (manifest) defining your level specs, except for our system. (example) - a
scripts
directory with overrides for the skeleton. (example)
Bonus:
- a screenshot to make the repo fancy
- make the level private or at least difficult to understand with the sources
Limitations:
- you cannot link host-volume on containers, but you can use volume link between containers
- your level needs to be buildable without cloning any other repository, however you can use some
wget
hacks from some scripts
Level | Containers | Technos | Open-Source | Repository |
---|---|---|---|---|
helloworld | 1 | nginx | ⭕ | http://github.com/pathwar/level-helloworld |
pnu | 1 | php | ⭕ | http://github.com/pathwar/pnu |
captcha | 1 | php | ⭕ | http://github.com/pathwar/captcha |
calc | 2 | python, mysql | ⭕ | http://github.com/pathwar/calc |
upload-hi | 1 | php | ⭕ | http://github.com/pathwar/upload-hi |
upload-kthxbie | 1 | php | ❌ | http://github.com/pathwar/upload-kthxbie |
training-sqli | 2 | php, mysql | ⭕ | http://github.com/pathwar/training-sqli |
training-http | 1 | n/a | ⭕ | http://github.com/pathwar/training-http |
training-include | 1 | n/a | ⭕ | http://github.com/pathwar/training-include |
training-brute | 1 | n/a | ⭕ | http://github.com/pathwar/training-brute |
training-tools | 1 | n/a | ⭕ | http://github.com/pathwar/training-tools |
© 2014-2015 Pathwar Team - MIT License.