401-403-bypass-techniq…
401/403 bypass playbook. Use when encountering access-denied responses on admin panels, API endpoints, or restricted paths.…
Source control and artifact exposure (.git, .svn, .hg, backups, .env). Use when recon finds VCS paths, 403 on hidden dirs, or backup/config leaks during authorized testing.
Claude Code
$ npx -y skills add yaklang/hack-skills --skill insecure-source-code-management --agent claude-code
Codex
$ npx skills add yaklang/hack-skills --skill insecure-source-code-management -a codex -y
Cursor
$ npx skills add yaklang/hack-skills --skill insecure-source-code-management -a cursor -y
Gemini CLI
$ npx skills add yaklang/hack-skills --skill insecure-source-code-management -a gemini-cli -y
GitHub Copilot
$ npx skills add yaklang/hack-skills --skill insecure-source-code-management -a github-copilot -y
OpenCode
$ npx skills add yaklang/hack-skills --skill insecure-source-code-management -a opencode -y
Windsurf
$ npx skills add yaklang/hack-skills --skill insecure-source-code-management -a windsurf -y
name: insecure-source-code-management description: >- Source control and artifact exposure (.git, .svn, .hg, backups, .env). Use when recon finds VCS paths, 403 on hidden dirs, or backup/config leaks during authorized testing.
> **AI LOAD INSTRUCTION**: This skill covers detection and recovery of exposed version-control metadata, common backup artifacts, and related misconfigurations. Use only in **authorized** assessments. Treat recovered credentials and URLs as sensitive; do not exfiltrate real data beyond scope. For broad discovery workflow, cross-load [recon-for-sec](../recon-for-sec/SKILL.md) and [recon-and-methodology](../recon-and-methodology/SKILL.md) when those skills exist in the workspace.
High-value paths to probe first (GET or HEAD, respect rate limits):
/.git/HEAD /.git/config /.svn/entries /.svn/wc.db /.hg/requires /.bzr/README /.DS_Store /.env
**Routing note**: quickly probe these paths first; for full recon workflow, load methodology from `recon-for-sec` and `recon-and-methodology` before deeper testing.
---
ref: refs/heads/main
/.git/HEAD /.git/config /.git/logs/HEAD /.git/refs/heads/main
A **403 on the directory** plus **200 on `HEAD`** strongly indicates exposure.
| Path | Why it matters | |------|----------------| | `.git/config` | Remotes, credentials, hooks paths | | `.git/logs/HEAD` | Commit history, reflog-style leakage | | `.git/refs/heads/*` | Branch tips, commit SHAs | | `.git/packed-refs` | Packed branch/tag refs | | `.git/objects/**` | Object blobs for reconstruction |
---
Example probe:
GET /.svn/entries HTTP/1.1 GET /.svn/wc.db HTTP/1.1
---
GET /.hg/requires HTTP/1.1 GET /.hg/store/ HTTP/1.1
---
Probe (adjust for app root and naming conventions):
/.env /backup.zip /backup.tar.gz /wwwroot.rar /backup.sql /config.php.bak /.config.php.swp
---
1. **Probe `/.git/HEAD`** → `ref: refs/heads/` pattern? → run **git-dumper / GitTools / GitHacker**; review `config` and `logs/HEAD` for secrets. 2. **Else probe `/.svn/wc.db` or `entries`** → success? → **svn-extractor** or manual `wc.db` + pristine recovery. 3. **Else probe `/.hg/requires`** → success? → **mercurial dumper**. 4. **Else probe `/.bzr/README`** → Bazaar tooling or manual path walk. 5. **Parallel**: fetch **`/.DS_Store`**, **`/.env`**, common **backup extensions** on app root and parent paths. 6. **Interpret status codes**: **403 on directory** + **200 on specific files** → treat as **high priority** for file-by-file extraction.
---
**Note**: coordinate with recon skills—set scope and request rate first, then run targeted VCS/backup validation.
Master Entry → Category Entries → Deep Topic Skills One master entry, six category entries, and 102 deep topic skills across 14 security domains.
401/403 bypass playbook. Use when encountering access-denied responses on admin panels, API endpoints, or restricted paths.…
Active Directory ACL abuse playbook. Use when exploiting misconfigured AD permissions including GenericAll, WriteDACL, DCSync…
AD Certificate Services attack playbook. Use when targeting misconfigured AD CS for privilege escalation via ESC1-ESC13 template…
Kerberos attack playbook for Active Directory. Use when targeting AD authentication via AS-REP roasting, Kerberoasting,…
AI/ML security playbook. Use when assessing model supply chain attacks (pickle RCE, poisoned weights), adversarial examples,…
Android pentesting playbook. Use when testing Android applications for SSL pinning bypass, exported component abuse, WebView…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…