Skip to content

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

Notifications You must be signed in to change notification settings

giantbranch/pwn_deploy_chroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pwn_deploy_chroot

A project for deploying ctf pwn challenge use chroot

中文请点击:

README_CN.md

Before

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

Configuration

Put your pwn bin to ./bin (Note that the filename should not contain special characters.

Listen port start from 10000, you can change in config.py

Run

python initialize.py
# please run as root
docker-compose up --build -d

Attention

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

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

Reference

https://github.com/Eadom/ctf_xinetd

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published