Swiss army knife tool (cli) for xray-core.
I DEDICATE THIS TOOL TO MY DEAR PERSIAN PEOPLE.
استفاده از این نرم افزار برای حمایت کنندگان جمهوری اسلامی حرام است.
Since there was no existing program capable of directly checking xray-core config links in bulk, I took it upon myself to develop such a tool. I have now made it publicly available, enabling everyone to benefit from and enjoy its functionality. (net http
command).
You can also benefit from other key features of this program, such as its rotating proxy functionality (proxy
command).
You can view the flags of each command by using the -h
or --help
option.
parse
: Detailed info about given xray config link.subs
: Subscription management tool.net
: Network testing tools for one or multiple xray configs.scan
: Scanning tools needed for bypassing GFW (CF Scanner, REALITY Scanner).proxy
: Creates proxy server to work as a client for xray-core configs.
Get the latest version from GitHub.
Only works on golang version 1.21
Install golang
git clone https://github.com/lilendian0x00/xray-knife.git
cd xray-knife
go build .
-
Add Vmess link support (vmess://...
, full b64 encoded) -
Add Vmess link v2 support (vmess://...
, semi b64 encoded) -
Add Vless link support (vless://...
) -
Add Shadowsocks support (ss://...
) -
Add Trojan support (trojan://...
) -
Add Socks support (socks://...
) -
Add Wireguard support (wireguard://...
) - Load config from json file
-
Fetch config links inside subscription -
Sort config links based on their real delay test when saving them into a file
-
Add icmp (ping) tester -
Add tcp connection delay tester -
Add full connection delay (AKA real delay) tester -
Add speed tester for http
-
Added CLI client feature -
Option to switch outbound connection automatically based on passed parameter (E.g. interval, availability) (rotating proxy)
- Cloudflare white-list IP scanner