Skip to content

pwnwriter/kanha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d7eb83e Β· Sep 8, 2023

History

50 Commits
Sep 8, 2023
Sep 8, 2023
Sep 8, 2023
Sep 3, 2023
Sep 8, 2023
Sep 7, 2023
Sep 7, 2023
Aug 26, 2023
Sep 8, 2023

Repository files navigation

Kanha - A web-app pentesting suite written in rust πŸ¦€

Crate Release MIT LICENSE Ko-fi

-----------------------------------------------------

img

Kanha is a tool that can help you perform, a variety of attacks based on the target domain . With just kanha you can do, Fuzzing, Reverse dns lookup, common http response, subdomain takeover detection and many more.

The project is inspird by mini.nvim, basically helping you to be productive with less numbers of tools(plugins) installed on your system and be unobtrusive and function as a standalone single binary by out of the box.

Built from the ground up with performance, ease of use, and portability in mind in your favourite programming lang rust πŸ’

🧠 Philosophy

  • KISS - Keep things simple and stupid.
  • Ease - Write code that can be used elsewhere as well.
  • Efficiency - Optimize for performance without sacrificing readability.

🐱 Installation

🦯Binary  
  • You can directly download the binary of your arch and run it.
🌼 Source  
git clone --depth=1 https://github.com/pwnwriter/kanha --branch=main
cd kanha
cargo build --release 

Then go to release dir and ./kanha or move the binary to your any $PATH for instant access from anywhere.

🎠 Cargo
  • Using crates.io

    cargo install kanha
  • Using binstall

    cargo binstall kanha

    Note ⚠️ This requires a working setup of rust/cargo & binstall.

🚩 METIS Linux  
sudo/doas pacman -Syyy kanha

🌈 Subcommands

  • ➊ Status :- Just return the HTTP response code of URLs

    πŸ‘» Help  
    $ kanha status -h
    
    Just return the HTTP response code of URLs
    
    Usage: kanha status [OPTIONS]
    
      Options:
      -f, --filename <FILENAME>  A url or a file containing multiple urls
          --stdin                Reads input from the standard in
      -t, --tasks <TASKS>        Define the maximum concurrent tasks [default: 10]
      -h, --help                 Print help
      -V, --version              Print version
    🦊 Screenshots  

    status status-stdin

  • βž‹ fuzz :- Fuzz URLs and return the response codes

    πŸ‘» Help  
    $ kanha fuzz -h
    Fuzz URLs and return the response codes
    
    Usage: kanha fuzz [OPTIONS] --wordlist <WORDLIST> --url <URL>
    
    Options:
      -w, --wordlist <WORDLIST>  A file containing a list of possible wordlists
      -u, --url <URL>            Provide a url to fuzz
      -t, --tasks <TASKS>        Define the maximum concurrent tasks [default: 10]
      -h, --help                 Print help
      -V, --version              Print version
    🦊 Screenshots  

    fuzz

  • ➌ rdns :- Reverse dns lookup

    πŸ‘» Help  
    kanha rdns  -h
    Reverse dns lookup
    
    Usage: kanha rdns [OPTIONS] --filename <FILENAME>
    
    Options:
      -f, --filename <FILENAME>  a file containing a list of possible wordlists
      -h, --help                 Print help
      -V, --version              Print version
    🦊 Screenshots  

    rdns

  • ➍ Takeover :- Check possible subdomain takeover

    πŸ‘» Help  
    Check possible subdomain takeover
    
    Usage: kanha takeover [OPTIONS] --json-file <JSON_FILE>
    
    Options:
      -j, --json-file <JSON_FILE>  A json file containing signature values of different services
      -f, --filename <FILENAME>    A file containing a list of urls
          --stdin                  Reads input from the standard in
      -h, --help                   Print help
      -V, --version                Print version
    🦊 Screenshots  

    takeover takeover-stdin

πŸ‘ Contributing

  • πŸͺΆ Recommend a new features
  • ⭐ Give the project a star
  • 🐎 Add new subcommand.
  • πŸ§‘β€πŸš’ Fix docx // improve code quality

License πŸ”

As always, this project is also licensed under the MIT LICENSE

 

Copyright © 2023 pwnwriter xyz ☘️