OSINTverse

otinstaller · Websites

Install katana on Windows, macOS, or Linux in one command

katana is a web crawler built for reconnaissance. It follows links, reads JavaScript files for endpoints, and prints every URL it finds. It can drive a headless browser for sites that only work with JavaScript.

katana in three lines

curl -fsSL https://otinstaller.com/install.sh | sh
ot install katana
ot run katana -u https://example.com -d 2 -silent

On Windows, replace the first line with irm https://otinstaller.com/install.ps1 | iex in PowerShell.

Runs projectdiscovery/katana (MIT, ★ 18k, otinstaller 0.3.0). otinstaller installs it as a release binary, pinned to version 1.8.0; it does not change or audit the tool itself.

What katana is for

  • Listing every URL a site links to, to a depth you choose.
  • Pulling endpoints out of JavaScript files (-jc).
  • Crawling a site that only works in a browser, with the headless mode.

Run katana with ot

ot run katana passes everything after the tool's name to katana unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.

Crawl two levels deep and print the URLs.
ot run katana -u https://example.com -d 2 -silent
Also read JavaScript files, and save the result.
ot run katana -u https://example.com -jc -o urls.txt

katana sends traffic to its target, so run it only against systems you are allowed to test.

Where the results go

ot run saves nothing itself: katana's output goes to your terminal, a pipe, or wherever its own output option writes it. Results can hold personal data, so store and share them accordingly.

Before you run it

  • It requests every page it follows. Set the depth, and crawl only sites you may test.

Update, remove, inspect

ot info katana              # details, and how it installs on this system
ot update katana            # move to the version the registry pins
ot update katana --latest   # take the newest upstream release instead
ot remove katana            # remove it

Full reference: the otinstaller docs, katana on otinstaller.com, and the tool's own project page.

Pairs with

httpx takes a list of hosts and reports which of them run a web server, with the status code, page title, server software and detected technologies.
gau (get all URLs) lists every URL of a domain that the Wayback Machine, Common Crawl, AlienVault OTX and urlscan have on record.
cariddi crawls the URLs you give it and looks at what it passes on the way: endpoints with interesting parameters, API keys and tokens left in pages, error messages, and files with extensions worth a second look.

FAQ

katana with otinstaller, answered

How do I install katana on Windows, macOS, or Linux?

Install ot once with the one-line script on the otinstaller page, then run ot install katana. Ot downloads the project's release binary for your system and checks its SHA-256 hash before it installs anything, at version 1.8.0. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.

How do I run katana through ot?

With ot run katana followed by katana's own arguments, for example: ot run katana -u https://example.com -d 2 -silent. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.

Is katana part of ot scan?

No. ot scan takes a username, an email address, a domain, or a phone number and runs the tools the registry assigns to that kind of target. Run katana on its own with ot run katana.

Does katana need an API key or a login?

ot stores no key for it. The basic run needs neither a key nor a login.

Does katana send traffic to the target?

Yes. The registry lists katana as active: it contacts the target directly, so run it only against systems you are allowed to test. ot prints that reminder once, and ot mcp refuses active tools unless it was started with --allow-active.