Skip to content
Projetos

giantbranch/pwn_deploy_chroot

Ver no GitHub

Sobre

可以方便地部署一个或者多个pwn题到一个docker容器中(使用chroot,并可以设置是否使用我自己写的catflag程序替换默认的/bin/sh程序,以增加安全性)

Segurança e privacidade

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

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
# for CN
curl -fsSL https://get.docker.com | sudo sh -s -- --mirror Aliyun
# 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

自愿打赏

Explore projetos relacionados

Carregando…