Katana in Termux – Installation Commands and Usage Guide

Katana is a fast web crawling and reconnaissance tool developed by ProjectDiscovery. It is designed to crawl websites, discover URLs, extract endpoints, identify JavaScript files, and collect information that can be useful during reconnaissance and security testing. You can install and use Katana in Termux to perform website crawling and information gathering tasks directly from your Android device.

Here’s what you can do with Katana in Termux:

  • Crawl websites and collect URLs.
  • Discover hidden pages and endpoints.
  • Find JavaScript files.
  • Extract website assets.
  • Perform reconnaissance tasks.
  • Learn web crawling techniques.

Install Katana in Termux

Below are the simple commands to install Katana in Termux. Copy and run each command one by one to install the tool.

Update Termux packages.

pkg update && pkg upgrade -y

Install Go programming language.

pkg install golang -y

Install Katana using Go.

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

Add the Go binary path.

export PATH=$PATH:$HOME/go/bin

Verify the installation.

katana -version

Katana is now installed and ready to use.

Use Katana in Termux

Display the help menu.

katana -h

Crawl a website.

katana -u https://example.com

Crawl a website and save the results.

katana -u https://example.com -o urls.txt

Crawl multiple URLs from a file.

katana -list targets.txt

Display JavaScript files discovered during crawling.

katana -u https://example.com -jc

Set the crawl depth.

katana -u https://example.com -d 3

Display only unique URLs.

katana -u https://example.com | sort -u

Save the crawl results into a file.

katana -u https://example.com > results.txt

End Note

Katana is a useful website crawling tool that helps collect URLs, discover website resources, and perform reconnaissance tasks. You can install and use Katana in Termux to explore website structures, gather information, and learn web crawling techniques.

SHARE THIS POST: