
๐ฆ ๋ฌ์คํธ๋ก ์์ฑ๋ ์น์ฑ ์นจํฌ ํ ์คํธ ์ค์ํธ .
Kanha - Rust๋ก ์์ฑ๋ ์น์ฑ ์นจํฌ ํ
์คํธ ์ ํ๊ตฐ ๐ฆ์ค์น
โฆพ
ํ์ ๋ช
๋ น์ด
โฆพ
๊ธฐ์ฌํ๊ธฐ


Kanha๋ ๋์ ๋๋ฉ์ธ์ ๊ธฐ๋ฐ์ผ๋ก ๋ค์ํ ๊ณต๊ฒฉ์ ์ํํ ์ ์๋๋ก ๋์์ฃผ๋ ๋๊ตฌ์
๋๋ค. kanha ํ๋๋ง์ผ๋ก ํผ์ง, ์ญ DNS ์กฐํ, ์ผ๋ฐ HTTP ์๋ต, ํ์ ๋๋ฉ์ธ ํ์ทจ ํ์ง ๋ฑ ๋ ๋ง์ ์์
์ ํ ์ ์์ต๋๋ค.
์ด ํ๋ก์ ํธ๋ mini.nvim์์ ์๊ฐ์ ๋ฐ์์ผ๋ฉฐ, ๊ธฐ๋ณธ์ ์ผ๋ก ์์คํ
์ ์ค์น๋ *๋๊ตฌ(ํ๋ฌ๊ทธ์ธ)*์ ์๋ฅผ ์ค์ฌ ์์ฐ์ฑ์ ๋์ด๊ณ , ๋ณ๋ค๋ฅธ ์ค์ ์์ด๋ ๋
๋ฆฝ์ ์ผ๋ก ์คํ ๊ฐ๋ฅํ **๋จ์ผ ๋ฐ์ด๋๋ฆฌ**๋ก ์๋ํ๋ ๊ฒ์ ๋ชฉํ๋ก ํฉ๋๋ค.
์ฑ๋ฅ, ์ฌ์ฉ ํธ์์ฑ, ์ด์์ฑ์ ์ผ๋์ ๋๊ณ ์ฌ๋ฌ๋ถ์ด ์ข์ํ๋ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด์ธ rust ๐๋ก ์ฒ์๋ถํฐ ๊ตฌ์ถ๋์์ต๋๋ค.
๋ฐ์ด๋๋ฆฌjq, curl, tar, wget์ด ํ์ํฉ๋๋ค.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๋ฅผ ์์ค์์ ๋น๋ํ๋ ๊ฒ์ ๊ถ์ฅํฉ๋๋ค๏ผ
์์ค git clone --depth=1 https://github.com/pwnwriter/kanha --branch=main
cd kanha
cargo build --release
CargoMETIS Linuxsudo/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 LICENSE์ ๋ฐ๋ผ ๋ผ์ด์ ์ค๊ฐ ๋ถ์ฌ๋ฉ๋๋ค. Kanha๋ฅผ ์์ ๋กญ๊ฒ ์ฌ์ฉํ์ธ์!