apiscan
API security audit — REST, GraphQL, JWT analysis, parameter discovery
Detect and remove binary packing/protection
> /plugin marketplace add ogrodev/fsociety > /plugin install fsociety@ogrodev-fsociety
How it fires
How this command gets triggered: by you, by Claude, or both.
/unpackContext preview
What this command does when you run it.
Detect and remove binary packing/protection
description: Detect and remove binary packing/protection allowed-tools: Bash, Read, Write, Glob, Grep, AskUserQuestion argument-hint: <path-to-binary>
> **Storage Policy**: ALL output files MUST be saved in the project directory. NEVER write to `/tmp/` or any system temporary directory.
Parse `$ARGUMENTS` to get the binary path.
1. Entropy analysis:
r2 -qc 'iS' <binary>
Sections with entropy > 7.0 are likely packed.
2. File identification:
file <binary>
3. Known packer signatures:
**If UPX detected:**
mkdir -p extracted upx -d <binary> -o extracted/unpacked-<binary-name>
Verify the unpacked file:
file extracted/unpacked-<binary-name> r2 -qc 'iS' extracted/unpacked-<binary-name>
**If other packer:** Document the packer type and suggest manual approaches:
Ask the user which approach to take:
AskUserQuestion: The binary is packed with <packer>. Options: 1. Attempt automated unpacking 2. Dynamic memory dump (requires wine + frida) 3. Skip unpacking, analyze packed binary 4. Manual approach (provide guidance)
1. Check that the unpacked file is a valid PE:
file extracted/unpacked-<binary-name>
2. Compare entropy before/after:
r2 -qc 'iS' extracted/unpacked-<binary-name>
3. Verify imports are now visible:
r2 -qc 'ii' extracted/unpacked-<binary-name>
Suggest running `/analyze` on the unpacked binary for full analysis.
Multi-plugin marketplace for Claude Code offensive security plugins
Repo: ogrodev/fsociety
API security audit — REST, GraphQL, JWT analysis, parameter discovery
Archive or list previous engagement snapshots
Password brute force and hash cracking against target services
Resume or execute an attack campaign with progress tracking
Show running scans, system health, and engagement status