Katana

katana

Sameh1200 Updated

File contents

katana

Repo

https://github.com/projectdiscovery/katana

Installation

go install github.com/projectdiscovery/katana/cmd/katana@latest

Using

# Single target
katana -u https://target.com -o urls.txt

# From list
katana -list live.txt -o crawled.txt

# JS + depth
katana -u https://target.com -jc -d 3 -o deep.txt

# Silent + known files
katana -u https://target.com -silent -known-files all

Real-time usage (typical)

Scope Duration Notes
Single site depth 2 30 s – 3 min default
JS crawl depth 3 2 – 15 min -jc heavier
50 live hosts 10 – 40 min parallel list
Known-files only faster -known-files all

Depth and -jc are the main time drivers. Keep concurrency moderate on shared infrastructure.

Current Step

Endpoint and URL discovery via crawling (including JavaScript).

Next Step

Extract parameters, feed unique URLs into nuclei or ffuf, analyze JS for secrets / endpoints.

Errors Fixes

  • Slow → lower -c concurrency, raise -timeout
  • Missing JS links → enable -jc
  • Rate limited → -rate-limit 50
  • Binary not found → export PATH=$PATH:$(go env GOPATH)/bin

Sameh1200/HajrasSkillsToolsMCP/tree/main/skills/katana commit 6ae7a6ea93

Frequently asked questions

npx skillmds@latest add sameh1200/katana-2