Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
kanha — 🦚 一个用 Rust 编写的 Web 应用程序渗透测试套件。 | Kitploit
工具/GitHubGitHub/pwnwriter/kanha
侦察漏洞扫描器DNS和子域名枚举信息收集Web安全模糊测试渗透测试子域名枚举
GitHubpwnwriter/kanha

kanha

🦚 一个用 Rust 编写的 Web 应用程序渗透测试套件。

查看仓库
324181年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

Kanha - 用 Rust 🦀 编写的 Web 应用渗透测试套件

安装 ⦾ 子命令 ⦾ 贡献

Crate Release MIT LICENSE Ko-fi

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

img

Kanha 是一个工具,可帮助你基于目标域名执行多种攻击。只需使用 kanha,你就能进行 模糊测试、反向 DNS 查询、通用 HTTP 响应、子域名接管检测以及许多 其他功能。

该项目受 mini.nvim 启发,基本理念是让你在使用较少 工具(插件) 的情况下保持高效,且不会显得突兀,作为开箱即用的独立 单一二进制文件 运行。

从头开始构建,注重性能、易用性和可移植性,使用你最喜欢的编程语言 rust 💝

理念

  • KISS - 保持简单和愚蠢。
  • 易用性 - 编写可在其他地方重复使用的代码。
  • 效率 - 在不牺牲可读性的前提下优化性能。

安装

二进制文件  
  • 手动:你可以直接从 releases 下载适用于你架构的二进制文件并运行。
  • 一行命令:运行此脚本,需要 jq、curl、tar 和 wget
root@kitploit:~
wget -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 !

源码  
root@kitploit:~
  git clone --depth=1 https://github.com/pwnwriter/kanha --branch=main
  cd kanha
  cargo build --release
Cargo
  • 使用 crates.io

    root@kitploit:~
    cargo install kanha
    
  • 使用 binstall

    root@kitploit:~
    cargo binstall kanha
    

    注意 ⚠️ 这需要已配置好的 rust/cargo 和 binstall 环境。

METIS Linux  
root@kitploit:~
sudo/doas pacman -Syyy kanha
Arch 用户仓库  
root@kitploit:~
paru/yay -S kanha-git
在 Nix 中  
root@kitploit:~
# 从源码构建并运行
nix run github:pwnwriter/kanha
# 不使用 flakes:
nix-env -iA nixpkgs.kanha
# 使用 flakes:
nix profile install nixpkgs#kanha

子命令

  • ➊ status :- 仅返回 URL 的 HTTP 响应状态码

    帮助信息  
    root@kitploit:~
    $ 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 进行模糊测试并返回响应码

    帮助信息  
    root@kitploit:~
    $ 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 查询

    帮助信息  
    root@kitploit:~
    
    $ 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 :- 检查可能的子域名接管

    帮助信息  
    root@kitploit:~
    $ 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 编解码

    帮助信息  
    root@kitploit:~
    $ 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 编写的快速网络模糊测试工具

常见问题

  • 开发:
    • 进展可能缓慢,但我保证提供高质量的代码!
  • 为什么有这个工具?
    • 这是我不断扩展网络安全和 Rust 知识的一种方式!
  • 我想在 Kanha 中添加我的名言。
    • 请随时在此处添加。

支持

我是一名学生,喜欢在空闲时间从事开源项目。如果你欣赏我的工作,请考虑通过 Ko-fi 支持我。

复制

Kanha 基于 MIT 许可证 授权,请随意将 Kanha 视为己有!

Copyright © 2023 - present pwnwriter xyz ☘️

下载工具