CTFd环境安装

本文档详细介绍了CTFd的安装过程,从下载源代码到修改配置文件,再到启动服务。在Ubuntu 14.04.3 LTS上,通过运行prepare.sh安装依赖,并调整config.py设置。使用python serve.py启动服务,可以访问admin页面进行容器、挑战和配置的管理。此外,还提到了CTFd的目录结构,以及其基于Flask框架的开发模式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

0x01下载:
https://github.com/CTFd/CTFd/archive/1.0.3.tar.gz

0x02安装
Ubuntu 14.04.3 LTS

./prepare.sh to install dependencies using apt.
Modify CTFd/config.py to your liking. 默认即可
Use python serve.py in a terminal to drop into debug mode.
hostIP改成需要的IP;host=”10.160.11.191”
Here are some deployment options
You can check out the Getting Started guide for a breakdown of some of the features you need to get started.

:4000/admin/containers 添加容器
:4000/admin/chals 添加题目
:4000/admin/config 修改界面配置,定义ctf

0x03:结构解释
├── CHANGELOG.md
├── CTFd
│ ├── admin
│ ├── auth.py
│ ├── auth.pyc
│ ├── challenges.py
│ ├── challenges.pyc
│ ├── config.py
配置脚本
│ ├── config.pyc
│ ├── ctfd.db
│ ├── init.py
https://d

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值