• Stars
    star
    259
  • Rank 156,887 (Top 4 %)
  • Language
    Rust
  • License
    MIT License
  • Created about 1 year ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🦚 A web-app pentesting suite written in rust .

Kanha - A web-app pentesting suite written in rust 🦀

InstallationSubcommandsContribute

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 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
💢 Arch user repository  
paru/yay -S kanha-git

🌈 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 file containing multiple urls
      -t, --tasks <TASKS>        Define the maximum concurrent tasks [default: 20]
          --stdin                Reads input from the standard in
          --exclude <EXCLUDE>    Define your status code for selective exclusion
      -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 a URL and return the response codes
    
    Usage: kanha fuzz [OPTIONS] --payloads <PAYLOADS>
    
    Options:
      -p, --payloads <PAYLOADS>    A file containing a list of payloads
      -u, --url <URL>              A single url
      -f, --file-path <FILE_PATH>  Path of the file containing multiple urls
      -t, --tasks <TASKS>          Define the maximum concurrent tasks [default: 20]
          --exclude <EXCLUDE>      Define your status code for selective exclusion
          --stdin                  Reads input from the standard in
      -h, --help                   Print help
      -V, --version                Print version
    
    🦊 Screenshots  

    screenshot_2023-10-13_14-08-46 screenshot_2023-10-13_14-07-45

  • 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
          --stdin                Reads input from the standard in
      -h, --help                 Print help
      -V, --version              Print version
    🦊 Screenshots  

    rdns rdns-stdin

  • Takeover :- Check possible subdomain takeover

    👻 Help  
    $ kanha takeover -h
    Check possible subdomain takeover vulnerability
    
    Usage: kanha takeover [OPTIONS]
    
    Options:
      -u, --url <URL>              A single url
      -f, --file-path <FILE_PATH>  Path of the file containing multiple urls
      -j, --json-file <JSON_FILE>  A json file containing signature values of different services
          --stdin                  Reads input from the standard in
      -h, --help                   Print help
      -V, --version                Print version
    
    🦊 Screenshots  

    Takeover single Takeover multiple

    takeover-stdin

  • urldencode :- (De|En) code urls

    👻 Help  
    $ kanha urldencode -h
    (De|En) code urls
    
    Usage: kanha urldencode [OPTIONS]
    
    Options:
          --encode <ENCODE>  Provide a url to encode
          --decode <DECODE>  Provide a url to dencode
      -h, --help             Print help
      -V, --version          Print version
    
    🦊 Screenshots  

    urldencode urldencode

👐 Contributing

  • 🪶 Recommend a new features
  • ⭐ Give the project a star
  • 🐎 Add new subcommand.
  • 🧑‍🚒 Fix docx // improve code quality

👀 Also see

  • haylxon :- Blazingly fast tool to grab screenshots of your domain list right from terminal written in rust 🦀
  • httpx :- httpx is a fast and multi-purpose HTTP toolkit.
  • ffuf :- Fast web fuzzer written in Go

🔏 License

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

Copyright © 2023 pwnwriter xyz ☘️

More Repositories

1

hysp

📦 An independent package manager that every hacker deserves.
Rust
419
star
2

haylxon

⚡ Blazing-fast tool to grab screenshots of your domain list right from terminal.
Rust
384
star
3

pwnvim

👾 Neo(vim), the less is more.
Lua
123
star
4

ewm

🌷 An elegant window manager, that just floats perfectly.
C
52
star
5

nix

🍎 Procrastinating never felt this productive.
Nix
40
star
6

rustycli

🍥 Access the rust playground right in your terminal
Rust
34
star
7

rayso

💫 create beautiful code snippets on ray.so
Rust
32
star
8

nadwm

// : DWM build the less bloated way.
23
star
9

ebooks

Random pdfs and books which i may need later and forever.
22
star
10

brainfuck

//: A simple brainfuck compiler for x86_64-linux in c.
C
18
star
11

saika

🦀 Simplest hexdump tool written in rust.
Rust
11
star
12

pwnotes

🔖 my random notes
CSS
10
star
13

heliumbar

💭 1s2 ○ A noble, light and aesthetic bar for Wayland // wlroots. [Wip]
Rust
9
star
14

pwnwriter

// README: for my profile
8
star
15

bin

🗑️ handy scripts
Shell
6
star
16

todo

//: Todo App written in pure bash !
Shell
6
star
17

yanp

🎨🌺 Yet another Nerd Font Picker
Shell
6
star
18

starty

✨ Well & yet clean startpage for your browser
CSS
4
star
19

dotfiles

//: my dotfiles for dwm !
C
3
star
20

wood

🪵pwn::musings
CSS
3
star
21

iyamnabeen.github.io

Personal site
HTML
2
star
22

NARBS

This script will let you install arch from scratch;)
Shell
2
star
23

CVE-2022-22965

🚀 Exploit for Spring core RCE in C [ wip ]
C
2
star
24

NabRss

My minimal RSS feed reader written in c []
C
2
star
25

dwm

// dwm supporting xresources
C
1
star
26

cquiz

C
1
star
27

atom_projects

C
1
star
28

name_in_center

i wrote A simple program i.e c program to print name in center.
C
1
star
29

fast

a simple c program to print even numbers starting from 2 to 9 lakhs
C
1
star
30

annniii

loading animatin in css & html
HTML
1
star
31

myDotfiles

C
1
star
32

Iyamnabeen

// README: FOR profile
1
star
33

covidmemorygame

HTML
1
star
34

k1ss

💋 PwnWriter's personal kiss repo
Shell
1
star
35

setmykaliup

Shell
1
star