pwnhustcollege-skill
v0.1.0
Published
Codex skill for authorized pwn.hust.college binary exploitation challenges.
Readme
pwnhustcollege_skill
Codex skill for authorized pwn/binary exploitation challenges on pwn.hust.college.
Description
pwnhustcollege_skill helps Codex work through authorized pwn.hust.college challenges end to end. It guides Codex to connect to the platform over SSH, read the challenge description, run binary reconnaissance, identify likely vulnerability patterns, and generate a pwntools exploit template for /challenge/solve.
The skill is designed for the pwn.hust.college environment, where analysis tools such as pwntools, gdb, pwndbg, gef, radare2, ghidra, strace, and checksec are available on the remote host. It also handles architecture-aware exploit generation, including x86, x86_64, ARM, and AArch64 binaries.
What It Does
- Confirms authorization and SSH key path before connecting to the platform.
- Reads
/challenge/DESCRIPTION.mdand analyzes/challenge/solve. - Runs reconnaissance with
file,checksec,readelf,objdump,strings, and symbol inspection. - Uses bundled pwn pattern references to classify common vulnerabilities.
- Generates architecture-aware pwntools exploit code using the detected ELF architecture and word size.
Requirements
- Codex with local skills support.
- Node.js 18 or newer for
npxinstallation. - SSH access to
[email protected]. - Permission to work on the target pwn.hust.college challenge.
Install
Run the installer directly from GitHub with npx:
npx github:hust-open-atom-club/pwnhustcollege_skill installIf the package is published to npm, install by package name:
npx pwnhustcollege-skill installThis installs the skill into:
${CODEX_HOME:-$HOME/.codex}/skills/pwnhustcollegeTo install to a custom skill directory:
npx pwnhustcollege-skill install --path /path/to/skills/pwnhustcollegeRestart Codex after installation so the skill metadata is reloaded.
Running the package without install only prints usage and does not modify your skills directory.
npx pwnhustcollege-skillManual Install
From this repository, install into the default Codex skills directory:
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills/pwnhustcollege"
rsync -a --delete \
--exclude '.git' \
--exclude '.gitignore' \
--exclude 'package.json' \
--exclude 'bin' \
--exclude 'README.md' \
SKILL.md scripts references \
"${CODEX_HOME:-$HOME/.codex}/skills/pwnhustcollege/"Update
Rerun the npx or manual install command after pulling or editing the skill.
Repository Layout
SKILL.md: skill metadata and workflowbin/install.js:npxinstallerscripts/recon.sh: remote reconnaissance scriptscripts/exploit_template.py: pwntools exploit templatereferences/pwn-patterns.md: vulnerability pattern reference
