{"id":18354653,"url":"https://github.com/pwnwriter/kanha","last_synced_at":"2025-04-05T07:06:24.627Z","repository":{"id":192201925,"uuid":"683308382","full_name":"pwnwriter/kanha","owner":"pwnwriter","description":"🦚  A web-app pentesting suite written in rust .","archived":false,"fork":false,"pushed_at":"2025-01-08T12:44:40.000Z","size":721,"stargazers_count":274,"open_issues_count":8,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T06:07:57.713Z","etag":null,"topics":["hackers-tools","hacsectools","hactoberfest","offsec-tools","osint","pentesting-suite","pwntools","pwnwriter","recon","unixporn"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/kanha","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwnwriter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"pwnwriter"}},"created_at":"2023-08-26T06:35:39.000Z","updated_at":"2025-02-14T13:45:26.000Z","dependencies_parsed_at":"2023-09-29T11:03:58.926Z","dependency_job_id":"245b4a4b-82c0-4bab-b564-8ef3c63071bf","html_url":"https://github.com/pwnwriter/kanha","commit_stats":{"total_commits":109,"total_committers":6,"mean_commits":"18.166666666666668","dds":0.1651376146788991,"last_synced_commit":"df75df539e9c04bd795887e9be54a06dae2559ef"},"previous_names":["pwnwriter/kanha"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnwriter%2Fkanha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnwriter%2Fkanha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnwriter%2Fkanha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnwriter%2Fkanha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwnwriter","download_url":"https://codeload.github.com/pwnwriter/kanha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299832,"owners_count":20916190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hackers-tools","hacsectools","hactoberfest","offsec-tools","osint","pentesting-suite","pwntools","pwnwriter","recon","unixporn"],"created_at":"2024-11-05T22:04:45.318Z","updated_at":"2025-04-05T07:06:24.604Z","avatar_url":"https://github.com/pwnwriter.png","language":"Rust","funding_links":["https://ko-fi.com/pwnwriter"],"categories":["Rust","\u003ca name=\"webdev\"\u003e\u003c/a\u003eWeb development"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/pwnwriter/kanha/blob/logos/shree.svg\" width=\"250px\" height=\"100px\" \u003e\n\u003ch4 align=\"center\"\u003e\u003cstrong\u003e\u003ccode\u003eKanha\u003c/code\u003e\u003c/strong\u003e - A web-app pentesting suite written in rust 🦀\u003c/h4\u003e \u003c/h6\u003e\n\n\u003ch6 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/pwnwriter/kanha#-installation\"\u003e\u003ccode\u003eInstallation\u003c/code\u003e\u003c/a\u003e\n  ⦾\n  \u003ca href=\"https://github.com/pwnwriter/kanha#-Subcommands\"\u003e\u003ccode\u003eSubcommands\u003c/code\u003e\u003c/a\u003e\n  ⦾\n  \u003ca href=\"https://github.com/pwnwriter/kanha#-contributing\"\u003e\u003ccode\u003eContribute\u003c/code\u003e\u003c/a\u003e\n \u003c/h6\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://crates.io/crates/kanha/\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/kanha?style=flat\u0026amp;labelColor=56534b\u0026amp;color=c1c1b6\u0026amp;logo=Rust\u0026amp;logoColor=white\" alt=\"Crate Release\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/pwnwriter/kanha/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/pwnwriter/kanha.svg?style=flat-square\u0026label=Issues\u0026color=d77982\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/pwnwriter/pwnwriter/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-white.svg\" alt=\"MIT LICENSE\"\u003e\u003c/a\u003e\n\u003ca href=\"https://ko-fi.com/pwnwriter\"\u003e\u003cimg src=\"https://img.shields.io/badge/support-pwnwriter%20-pink?logo=kofi\u0026logoColor=white\" alt=\"Ko-fi\"\u003e\u003c/a\u003e\n\n![-----------------------------------------------------][line]\n\n\u003cimg src=\"https://github.com/pwnwriter/kanha/assets/90331517/7fbabb20-44bf-4d34-9602-fad6e0487b5e\" alt=\"img\" align=\"right\" width=\"50%\"\u003e\u003c/p\u003e\n    \n[**`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`***][wiki-fuzzing], [***`Reverse dns lookup`***][wiki-dns-lookup], [***`common http response`***][wiki-http], [***`subdomain takeover detection`***][wiki-subdomain] and many [**`more`**][commands]. \n\nThe project is inspird by [`mini.nvim`][mini], 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.\n\nBuilt from the ground up with performance, ease of use, and portability in mind in your favourite programming lang [**`rust`**][rust] 💝\n\n## Philosophy\n\n- **KISS** - Keep things simple and stupid.\n- **Ease** - Write code that can be used elsewhere as well.\n- **Efficiency** - Optimize for performance without sacrificing readability.\n\n## Installation \n    \n  \u003cdetails\u003e \u003csummary\u003e\u003ccode\u003eBinary \u003c/code\u003e\u003c/summary\u003e\n    \u0026nbsp;\n\n  - *Manual* : You can directly download the binary of your arch from [**releases**][releases] and run it.\n  - *One liner* : Run this script, requires `jq`,`curl`, `tar` \u0026 `wget`\n   ```bash\nwget -qO- \"$(curl -qfsSL \"https://api.github.com/repos/pwnwriter/kanha/releases/latest\" | jq -r '.assets[].browser_download_url' | grep -Ei \"$(uname -m).*$(uname -s).*musl\" | grep -v \"\\.sha\")\" | tar -xzf - --strip-components=1\n./kanha -h\n``` \n  \u003c/details\u003e\n\n\u003e [!IMPORTANT]\n\u003e *_For upstream updates, it's recommended to build `kanha` from source !_*\n\n\u003cdetails open\u003e \u003csummary\u003e\u003ccode\u003eSource \u003c/code\u003e\u003c/summary\u003e\n\u0026nbsp;\n\n   \n  ```bash\n    git clone --depth=1 https://github.com/pwnwriter/kanha --branch=main\n    cd kanha\n    cargo build --release\n  ``` \n\n\u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003e\u003ccode\u003eCargo \u003c/code\u003e\u003c/summary\u003e\n\n- Using [crates.io][crate]\n  ```bash\n  cargo install kanha\n  ```\n- Using [binstall][binstall]\n  ```bash\n  cargo binstall kanha\n  ```\n\n  \u003e **Note** ⚠️\n  \u003e This requires a working setup of rust/cargo \u0026 binstall.\n\u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003e\u003ccode\u003eMETIS Linux \u003c/code\u003e\u003c/summary\u003e\n\u0026nbsp;\n  \n  ```bash\n  sudo/doas pacman -Syyy kanha\n  ```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003e\u003ccode\u003eArch user repository \u003c/code\u003e\u003c/summary\u003e\n\u0026nbsp;\n  \n  ```bash\n  paru/yay -S kanha-git\n  ```\n\n\u003c/details\u003e\n\n\n\u003cdetails open\u003e \u003csummary\u003e\u003ccode\u003e On Nix  \u003c/code\u003e\u003c/summary\u003e\n\u0026nbsp;\n  \n  ```bash\n# Build from source and run\n  nix run github:pwnwriter/kanha\n# without flakes:\n nix-env -iA nixpkgs.kanha\n# with flakes:\n nix profile install nixpkgs#kanha\n  ```\n\n\u003c/details\u003e\n\n\n## Subcommands\n- ➊ `Status` :- Just return the HTTP response code of URLs\n\n  \u003cdetails\u003e\n  \u003csummary\u003eHelp\u003c/summary\u003e\n  \u0026nbsp;\n\n  ```bash\n  $ kanha status -h\n  Just return the HTTP response code of URLs\n\n  Usage: kanha status [OPTIONS]\n\n  Options:\n    -f, --filename \u003cFILENAME\u003e  A file containing multiple urls\n    -t, --tasks \u003cTASKS\u003e        Define the maximum concurrent tasks [default: 20]\n        --stdin                Reads input from the standard in\n        --exclude \u003cEXCLUDE\u003e    Define your status code for selective exclusion\n    -h, --help                 Print help\n    -V, --version              Print version\n\n  ```\n\n\u003c/details\u003e\n\n- ➋  `fuzz` :- Fuzz URLs and return the response codes\n    \n  \u003cdetails\u003e\n  \u003csummary\u003eHelp\u003c/summary\u003e\n  \u0026nbsp;\n    \n  ```bash\n  $ kanha fuzz -h\n  Fuzz a URL and return the response codes\n\n  Usage: kanha fuzz [OPTIONS] --payloads \u003cPAYLOADS\u003e\n\n  Options:\n    -p, --payloads \u003cPAYLOADS\u003e    A file containing a list of payloads\n    -u, --url \u003cURL\u003e              A single url\n    -f, --file-path \u003cFILE_PATH\u003e  Path of the file containing multiple urls\n    -t, --tasks \u003cTASKS\u003e          Define the maximum concurrent tasks [default: 20]\n        --exclude \u003cEXCLUDE\u003e      Define your status code for selective exclusion\n        --stdin                  Reads input from the standard in\n    -h, --help                   Print help\n    -V, --version                Print version\n\n  ```\n  \u003c/details\u003e\n\n- ➌ `rdns` :- Reverse dns lookup\n    \u003cdetails\u003e\n  \u003csummary\u003eHelp\u003c/summary\u003e  \n  \u0026nbsp;\n      \n  ```bash\n  \n  $ kanha rdns  -h\n  Reverse dns lookup\n\n  Usage: kanha rdns [OPTIONS] --filename \u003cFILENAME\u003e\n\n  Options:\n    -f, --filename \u003cFILENAME\u003e  a file containing a list of possible wordlists\n        --stdin                Reads input from the standard in\n    -h, --help                 Print help\n    -V, --version              Print version\n  ```\n\u003c/details\u003e\n\n- ➍ `Takeover` :- Check possible subdomain takeover\n    \u003cdetails\u003e\n  \u003csummary\u003eHelp\u003c/summary\u003e  \n  \u0026nbsp;\n      \n  ```bash\n  $ kanha takeover -h\n  Check possible subdomain takeover vulnerability\n\n  Usage: kanha takeover [OPTIONS]\n\n  Options:\n    -u, --url \u003cURL\u003e              A single url\n    -f, --file-path \u003cFILE_PATH\u003e  Path of the file containing multiple urls\n    -j, --json-file \u003cJSON_FILE\u003e  A json file containing signature values of different services\n        --stdin                  Reads input from the standard in\n    -h, --help                   Print help\n    -V, --version                Print version\n\n  ```\n    \u003c/details\u003e\n\n\n- ➎ `urldencode` :- (De|En) code urls\n  \u003cdetails\u003e\n  \u003csummary\u003e Help\u003c/summary\u003e  \n  \u0026nbsp;\n      \n  ```bash\n  $ kanha urldencode -h\n  (De|En) code urls\n\n  Usage: kanha urldencode [OPTIONS]\n  \n  Options:\n        --encode \u003cENCODE\u003e  Provide a url to encode\n        --decode \u003cDECODE\u003e  Provide a url to dencode\n    -h, --help             Print help\n    -V, --version          Print version\n  \n  ```\n\u003c/details\u003e\n\n\n\n\u003c!--  ➏ ➐ ➑ ➒ --\u003e\n\n## Contributing\n  - Recommend a new feature\n  - Give the project a star\n  - Add new [subcommand][commands].\n  - Fix docx and improve code quality\n\n## Also see \n- [`haylxon`][haylxon] :- Blazingly fast tool to grab screenshots of your domain list right from terminal written in rust 🦀\n- [`httpx`][httpx] :- httpx is a fast and multi-purpose HTTP toolkit.\n- [`ffuf`][ffuf] :- Fast web fuzzer written in Go\n\n## FAQ \n \n- **Development:**\n  - Progress may be gradual, but I assure you of delivering quality code!\n- **Why this?**\n  - This is a way for me to continually expand my knowledge in cybersecurity and Rust!\n- **I want my quote in Kanha.**\n  - Please feel free to add it [here][splash].\n\n## Support\nI am a student, i like working for open-source during my free time. If you appreciate my work, kindly consider supporting me through [Ko-fi][Ko-Fi].\n\n## Copying \n `Kanha` is licensed under the [**`MIT LICENSE`**][license], Feel free to consider Kanha as your own!\n \n\n\u003c!-- Links --\u003e\n\n[license]:/LICENSE\n[splash]:/src/interface/splashes.rs\n[commands]:/src/commands\n[releases]:https://github.com/pwnwriter/kanha/releases\n\n[line]:https://github.com/pwnwriter/haylxon/blob/readme-assets/colored.png\n\n[Ko-Fi]:https://ko-fi.com/pwnwriter\n[haylxon]:https://github.com/pwnwriter/haylxon\n\n[ffuf]:https://github.com/ffuf/ffuf\n[httpx]:https://github.com/projectdiscovery/httpx\n\n[crate]:https://crates.io/crates/kanha\n[binstall]:https://github.com/cargo-bins/cargo-binstall\n[mini]:https://github.com/echasnovski/mini.nvim\n[rust]:https://www.rust-lang.org\n\n[wiki-fuzzing]:https://en.wikipedia.org/wiki/Fuzzing\n[wiki-dns-lookup]:https://en.wikipedia.org/wiki/Reverse_DNS_lookup\n[wiki-http]:https://en.wikipedia.org/wiki/List_of_HTTP_status_codes\n[wiki-subdomain]:https://en.wikipedia.org/wiki/Domain_hijacking\n\n\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003eCopyright \u0026copy; 2023 - present \u003ca href=\"https://pwnwriter.xyz\" target=\"_blank\"\u003e pwnwriter xyz \u003c/a\u003e ☘️ \u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwnwriter%2Fkanha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwnwriter%2Fkanha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwnwriter%2Fkanha/lists"}