Giter Club home page Giter Club logo

pwn_deploy_chroot's Introduction

pwn_deploy_chroot

A project for deploying ctf pwn challenge use chroot

中文请点击:

README_CN.md

常见问题:

FAQ.md

详细部署示例:

如何安全快速地部署多道ctf pwn比赛题目 - How to deploy many ctf pwn game safely and quickly

Before

# Install the latest version docker
curl -s https://get.docker.com/ | sh
# Install docker compose
apt install docker-compose

How to use

1. Put your pwn program to ./bin (Note that the filename should not contain special characters.)
2. python initialize.py
3. docker-compose up --build -d     # please run as root

You can edit config.py to decide whether to replace /bin/sh with catflag

# Whether to replace /bin/sh

## replace
REPLACE_BINSH = True
## not replace(default)
REPLACE_BINSH = False

Attention

The flag will be generated by the initialize.py and it store in flags.txt

The port information of the pwn program is also inside the flags.txt.

Update

2018.09.17 version v1

2018.09.23 version v2:Use the catflag program instead of /bin/sh, which is more secure

Reference

https://github.com/Eadom/ctf_xinetd

Reward

paypal: https://www.paypal.me/giantbranch

自愿打赏

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.