Jump to content

Featured Replies

Posted

⚔️ How to Download and Install Katana on Linux (Simple Step-by-Step Guide)

Are you looking for a tool to scan websites and discover URLs for ethical hacking or cybersecurity testing?

Then you should try Katana.

In this blog post, you’ll learn what Katana is, and how to download and install it step-by-step on your Linux system.

What Is Katana?

Katana is a powerful tool used by ethical hackers and penetration testers. It helps you:

  • Discover hidden URLs and files on websites

  • Perform web crawling and endpoint discovery

  • Find admin pages, API paths, and more

It is fast, modern, and written in Go programming language.

⚠️ Katana is made for legal and educational purposes only. Use it on your own websites or with permission.

🖥️ How to Install Katana on Linux

You can install Katana on Linux in two ways:

  • Using Go (recommended)

  • Or by downloading the precompiled binary

We will explain both.

🔧 Method 1: Install Using Go (Golang)

This is the best way to install the latest version.

Step 1: Install Go (if not already installed)

Open your terminal and type:

sudo apt updatesudo apt install golang-go

Step 2: Download Katana from GitHub

Now use this command to get Katana:

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

This will download and build Katana on your system.

Step 3: Add Katana to Your PATH

Add this line to your .bashrc or .zshrc file:

export PATH=$PATH:$(go env GOPATH)/bin

Then apply it:

source ~/.bashrc

Done! You can now use the katana command in your terminal.

🧪 Test If Katana Works

Try this command:

katana -u https://example.com

If you see URLs being found, it means Katana is working!

📦 Method 2: Download Binary (No Go Needed)

If you don’t want to use Go, you can download the ready-to-use file.

Step 1: Go to Katana GitHub Releases

👉https://github.com/projectdiscovery/katana/releases

Step 2: Download the correct file for your OS

Example: katana-linux-amd64.tar.gz

Step 3: Extract the file

tar -xvzf katana-linux-amd64.tar.gz

Step 4: Move it to your bin folder

sudo mv katana /usr/local/bin/

Now you can run katana from anywhere in the terminal.

💡 Common Katana Commands

  • Scan one website:

katana -u https://example.com
  • Use threads for faster scan:

katana -u https://example.com -t 50
  • Save output to file:

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

📝 Final Words

Katana is a fast and easy-to-use web crawling tool made for professionals and learners in cybersecurity. It helps you discover hidden paths and pages on websites.

Now that you know how to install Katana on Linux, you can start using it for ethical hacking, bug bounty hunting, or web testing.

Remember: Always use it legally and with permission.



Create an account or sign in to comment