Giter VIP home page Giter VIP logo

ctf-challenges-template's Introduction

ctf-challenges-template

CTF出题模板

Web

php_apache_demo
    │  challenge.yml # 题目基本信息,ctfcli使用
    │  docker-compose.yml # 本地测试使用
    │  Dockerfile
    │  README.md
    │
    ├─src # 网站应用源代码
    │      flag.php
    │      index.php
    │
    ├─writeup
    │      writeup.md
    │
    └─_files # 支撑文件目录
            flag.sh
            start.sh

Pwn

Pwn
│  challenge.yml  # 题目基本信息,ctfcli使用
│  ctf.xinetd     # xinetd配置文件
│  docker-compose.yml # 用于本地测试
│  Dockerfile
│  README.md # 题目设计说明
│  start.sh  # 启动脚本
│
├─bin
│      helloworld # ELF可执行文件
│ 
├─dist # 题目附件目录
│      name_md5.zip # 题目附件,命名规则为'名称_压缩包MD5'
│ 
└─writeup
        writeup.md # 题解

出题步骤

  • 需在本地进行编码、编译工作,容器仅需编译好的可执行文件。
    • 根据需要确定Dockerfile中基础镜像ubuntu的版本
  • 将编译好的可执行文件放在bin目录下
  • 修改ctf.xinetd文件中的可执行文件名称
  • 使用docker-compose进行本地题目测试
  • 制作题目附件
    • 附件应包括可执行文件、库文件等。
    • 将全部附件压缩为一个ZIP压缩包,重命名为题目名称_压缩包的MD5值
  • 完善challenge.ymlwriteupREADME等文件

ctf-challenges-template's People

Contributors

fenguopeng avatar

Watchers

 avatar

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.