Skip to content
Security
Command

/dirscan

Directory and content discovery with recursive crawling

From plugin
fsociety
2063 skills7 agents63 commands
Install
$ npx -y skills add ogrodev/fsociety --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/dirscan

Context preview

What this command does when you run it.

Directory and content discovery with recursive crawling

Command definition

dirscan.md
description: Directory and content discovery with recursive crawling
allowed-tools: ToolSearch, Bash, Read, Write
argument-hint: <target-url>

> **Storage Policy**: ALL output files MUST be saved in the project directory. NEVER write to `/tmp/` or any system temporary directory.

Directory & Content Discovery

Target: `$ARGUMENTS`

Execute comprehensive directory and content discovery using Hexstrike MCP tools.

Step 1: Load Tools

Use ToolSearch to load:

  • `feroxbuster_scan` — recursive content discovery
  • `gobuster_scan` — fast directory brute forcing
  • `katana_crawl` — intelligent web crawling with JS rendering

Step 2: Feroxbuster (Primary)

Run `feroxbuster_scan` against the target with:

  • Recursive discovery enabled
  • Common extensions based on target tech stack (php, js, html, json, txt, bak, old, conf)
  • Appropriate wordlist (common.txt or directory-list-2.3-medium.txt)
  • Status code filtering: include 200, 301, 302, 403 (403 can reveal protected paths)
  • Rate limiting for WAF-protected targets

Step 3: Gobuster (Supplementary)

Run `gobuster_scan` in directory mode with a different wordlist than feroxbuster to maximize coverage. Include vhost mode if subdomain enumeration is relevant.

Step 4: Katana Crawl

Run `katana_crawl` for JavaScript-aware crawling that discovers dynamically generated paths, API endpoints in client-side code, and linked resources that brute-forcing misses.

Step 5: Results

Deduplicate findings across all tools. Present organized by:

  • **Interesting files**: config files, backups, source code, admin panels
  • **API endpoints**: discovered REST/GraphQL paths
  • **Protected paths**: 401/403 responses that may be accessible with auth
  • **Redirects**: 301/302 that reveal application structure

Save to `dirscan-{target}.md` in the project directory.

Read more
Ships withfsociety

Multi-plugin marketplace for Claude Code offensive security plugins

Get the whole plugin, auto-invoked
Stats
20
Stars
0
Views
2
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
4mo ago
Last commit
5mo ago
Created

Repo: ogrodev/fsociety