Kanha - 用 Rust 🦀 编写的 Web 应用渗透测试套件安装
⦾
子命令
⦾
贡献


Kanha 是一个工具,可帮助你基于目标域名执行多种攻击。只需使用 kanha,你就能进行 模糊测试、反向 DNS 查询、通用 HTTP 响应、子域名接管检测以及许多 其他功能。
该项目受 mini.nvim 启发,基本理念是让你在使用较少 工具(插件) 的情况下保持高效,且不会显得突兀,作为开箱即用的独立 单一二进制文件 运行。
从头开始构建,注重性能、易用性和可移植性,使用你最喜欢的编程语言 rust 💝
二进制文件 jq、curl、tar 和 wgetwget -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
./kanha -h
[!IMPORTANT] 为了获得最新更新,建议从源码构建
kanha!
源码 git clone --depth=1 https://github.com/pwnwriter/kanha --branch=main
cd kanha
cargo build --release
Cargo METIS Linux sudo/doas pacman -Syyy kanha
Arch 用户仓库 paru/yay -S kanha-git
在 Nix 中 # 从源码构建并运行
nix run github:pwnwriter/kanha
# 不使用 flakes:
nix-env -iA nixpkgs.kanha
# 使用 flakes:
nix profile install nixpkgs#kanha
➊ status :- 仅返回 URL 的 HTTP 响应状态码
$ 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
➋ fuzz :- 对 URL 进行模糊测试并返回响应码
$ 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
➌ rdns :- 反向 DNS 查询
$ 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
➍ takeover :- 检查可能的子域名接管
$ 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
➎ urldencode :- URL 编解码
$ 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
haylxon :- 用 Rust 🦀 编写的极速工具,可直接在终端中截取你的域名列表截图httpx :- httpx 是一个快速且多用途的 HTTP 工具包。ffuf :- 用 Go 编写的快速网络模糊测试工具我是一名学生,喜欢在空闲时间从事开源项目。如果你欣赏我的工作,请考虑通过 Ko-fi 支持我。
Kanha 基于 MIT 许可证 授权,请随意将 Kanha 视为己有!
Copyright © 2023 - present pwnwriter xyz ☘️