Skip to main content

checksec

Use the pwntools-provided checksec CLI for authorized ELF hardening review, mitigation checks, and binary triage evidence.

来源信息

仓库
Aethena-Lab/Z3r0
最近来源活动
2026年9月3日 10:00
检测到的 SKILL.md 语言
英语
星标
912
分支
200

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
checksec
description
Use the pwntools-provided checksec CLI for authorized ELF hardening review, mitigation checks, and binary triage evidence.
# checksec Use the `checksec` CLI provided by the bundled `pwntools` installation to inspect ELF hardening and mitigation settings for provided or task-scoped binaries. This skill documents a pwntools-provided entrypoint, not a separately installed package. ## Help first Before constructing commands, run the installed help output and use it as the source of truth: ```sh checksec --help pwn checksec --help ``` ## Usage rules - Work only on provided binaries or build outputs in scope. - Treat mitigation output as triage evidence, not proof of exploitability. - Pair results with `file`, `readelf`, `gdb`, or runtime testing when the finding matters. - Treat `checksec` as part of the `pwntools` toolchain; do not install another checksec implementation or apt package. - Use this skill for mitigation triage; use the `pwntools` skill only when exploit scripts, process interaction, packing, cyclic patterns, or shellcraft are needed. - Save batch output to files and report paths instead of streaming large tables. ## Common workflows Inspect one ELF binary: ```sh file ./binary checksec --file=./binary readelf -h ./binary ``` Save batch results for multiple binaries: ```sh for bin in ./build/*; do test -f "$bin" || continue checksec --file="$bin" >> checksec.txt done ``` Use `readelf -lW ./binary` when PIE, RELRO, GNU_STACK, or loader details need independent confirmation. ## Output Report binary path, command used, architecture when known, protection status, risk-relevant observations, and output path.
在 GitHub 查看