哈尔滨工程大学网络安全社团知识库
这是哈尔滨工程大学网络安全社团(HEUCTF)的官方知识库,用于存储和分享社团的学习资料、技术文档、博客文章等内容。
知识库涵盖 Web 安全、逆向工程、密码学、二进制安全、misc 等多个方向的技术文章和 Writeup。
- 静态站点生成器:VuePress 2
- 主题:vuepress-theme-plume
- 构建工具:Vite
- 部署平台:GitHub Pages
- Node.js
^20.19.0或>=22.0.0 - pnpm / npm / yarn
npm install# 启动开发服务器
npm run docs:dev
# 清理缓存后启动
npm run docs:dev-clean# 构建生产包
npm run docs:build
# 本地预览构建结果
npm run docs:previewheuctf.github.io/
├── docs/ # 文档源文件目录
│ ├── .vuepress/ # VuePress 配置目录
│ │ ├── config.ts # 站点配置
│ │ ├── plume.config.ts # 主题配置
│ │ ├── navbar.ts # 导航栏配置
│ │ └── collections.ts # 文档集合配置
│ ├── blog/ # 博客文章目录
│ ├── demo/ # 示例文档目录
│ └── README.md # 首页
├── package.json
└── README.md
欢迎社团成员为本知识库贡献内容!
-
博客文章:在
docs/blog/目录下创建.md文件--- title: 文章标题 date: 2026-03-16 tags: - Web - CTF --- 文章内容...
-
笔记/文档:在
docs/下创建新目录,并在collections.ts中配置
- 使用中文撰写,技术术语可保留英文
- 文件名使用英文小写,单词间用
-连接 - 每篇文章应包含
title、date、tags等 Front Matter - 代码块标注语言类型,如
\``python `
# 创建新分支
git checkout -b feature/new-article
# 提交更改
git add .
git commit -m "docs: 添加 XXX 文章"
# 推送分支
git push origin feature/new-article然后创建 Pull Request 等待审核。
本项目使用 GitHub Actions 自动部署到 GitHub Pages。
-
Actions 权限:
Settings > Actions > General,在Workflow permissions下勾选Read and write permissions -
Pages 设置:
Settings > Pages,Source选择Deploy from a branch,Branch选择gh-pages -
Base 路径:由于部署在
heuctf.github.io,base已默认配置为/
推送代码到 main 分支后,GitHub Actions 会自动构建并部署。
Made with ❤️ by HEUCTF