Ctf Web Recon logo

Ctf Web Recon

OrganizationPopular
wgpsec
ctf-web-recon

CTF Web 挑战专用侦察方法。当面对 CTF 靶场目标需要快速发现攻击入口时使用。与真实渗透的 recon 不同——CTF 是单个应用、有意留线索、侦察应在 2-3 轮内完成。覆盖源码泄露、备份文件、隐藏路径、页面线索提取

Overview

Publisherwgpsec
RepositoryAboutSecurity
Skill namectf-web-recon
Stars
1.8K
Forks
247
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by wgpsec on GitHub. Read the source before you install it.

Installation

Install the Ctf Web Recon AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/wgpsec/AboutSecurity/tree/master/skills/ctf/ctf-web-recon
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wgpsec/AboutSecurity.git /tmp/AboutSecurity
mkdir -p .claude/skills
cp -r /tmp/AboutSecurity/skills/ctf/ctf-web-recon .claude/skills/ctf-web-recon
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ctf Web Recon in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ctf Web Recon on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ctf Web Recon is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CTF Web 侦察方法论

CTF 侦察和真实渗透的侦察本质不同:

  • 真实渗透:大量资产,需要枚举子域名、扫端口、做指纹
  • CTF:单个 Web 应用,出题者故意留了线索,侦察的目标是找到这些线索

核心原则:2-3 轮内完成侦察,不要在侦察上花太多 rounds。

Phase 1: 侦察流程

1.1 首页分析

用 http_request GET 首页,仔细检查响应:

HTTP 响应头

  • Server — 服务器类型和版本(Apache/Nginx/Express)
  • X-Powered-By — 后端语言(PHP/Express/ASP.NET)
  • Set-Cookie — Cookie 格式(PHPSESSID=PHP, connect.sid=Node, JSESSIONID=Java)
  • 非标准 Header — 出题者可能通过自定义 Header 给提示

HTML 内容

  • <!-- 注释 --> — CTF 出题者常在注释里留提示(密码、路径、漏洞类型)
  • <input type="hidden"> — 隐藏字段可能可以篡改
  • <form action="..."> — 表单提交地址暴露后端接口
  • <script src="..."> — JS 文件路径暴露项目结构
  • 页面文字 — 有时提示就在页面内容里("Try harder", "Look deeper")

1.2 关键路径检查

按优先级依次检查(有发现就分析,不要机械地全部检查):

信息泄露路径

/robots.txt          — 最常见的提示位置,Disallow 的路径往往是关键
/.git/HEAD           — Git 源码泄露(存在则用 githacker --brute 恢复完整仓库,含 stash/所有分支)
/.svn/entries        — SVN 泄露
/.DS_Store           — macOS 目录文件泄露
/crossdomain.xml     — Flash 跨域策略(可能暴露内部域名)
/.env                — 环境变量文件(数据库密码、API 密钥)
/composer.json       — PHP 依赖(暴露框架版本)
/package.json        — Node.js 依赖

备份文件

/www.zip, /www.tar.gz, /backup.zip     — 整站打包
/index.php.bak, /index.php~, /index.php.swp  — 编辑器备份
/flag.txt, /flag, /flag.php             — 直接读 flag(有时就这么简单)
/.index.php.swp                         — Vim swap 文件

管理入口

/admin, /admin.php, /login, /login.php
/console, /dashboard, /phpmyadmin
/api, /api/v1, /graphql

1.3 JavaScript 分析

如果首页引用了 JS 文件,用 http_request 获取它们,搜索:

  • API 端点路径(/api/, fetch(, axios.)
  • 硬编码凭据(password, token, secret, key)
  • 隐藏功能(admin, debug, test)
  • 注释中的提示

技巧:压缩/混淆的 JS 不需要完全理解,搜索关键字符串即可。

1.4 技术栈确认

通过前面的信息确认技术栈,这决定了后续的漏洞利用方向:

线索技术栈常见漏洞
.php 后缀, PHPSESSIDPHPLFI, 反序列化, 文件上传
express, connect.sidNode.js原型链污染, SSTI(EJS)
JSESSIONID, .jspJava反序列化, JNDI, SpEL
_csrf_token, csrfmiddlewaretokenPython DjangoSSTI(Jinja2)
session=eyJPython FlaskFlask session 伪造

Phase 2: 侦察补充

2.1 不要做的事

  • ❌ 不要对 CTF 目标做子域名枚举(只有一个应用)
  • ❌ 不要做大规模端口扫描(通常只有一个端口)
  • ❌ 不要花超过 3 轮在侦察上(线索不在侦察里就在功能点里)

2.2 技术指纹判断

  • NoSQL/MongoDB 特征:尝试 $gt、$ne 等 NoSQL 注入操作符

2.3 CTF 效率

  • CTF 单应用:不做子域名枚举、不做大规模端口扫描

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ctf Web Recon AI skill do?

CTF Web 挑战专用侦察方法。当面对 CTF 靶场目标需要快速发现攻击入口时使用。与真实渗透的 recon 不同——CTF 是单个应用、有意留线索、侦察应在 2-3 轮内完成。覆盖源码泄露、备份文件、隐藏路径、页面线索提取

Why use Ctf Web Recon on TypingMind?

Because you install it once and use it with any model. Ctf Web Recon is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ctf Web Recon in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wgpsec/AboutSecurity/tree/master/skills/ctf/ctf-web-recon. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ctf Web Recon?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ctf Web Recon?

As many as you like. As long as a model supports skills, you can use Ctf Web Recon with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ctf Web Recon AI skill free?

It is published on GitHub by wgpsec. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇