Skip to content

A swiss army knife for xray-core to do task such as parsing xray config links, network testing, switch outboud automatically etc

License

Notifications You must be signed in to change notification settings

AliM1988/xray-knife

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xray-knife

Swiss army knife tool (cli) for xray-core.

I DEDICATE THIS TOOL TO MY DEAR PERSIAN PEOPLE.

استفاده از این نرم افزار برای حمایت کنندگان جمهوری اسلامی حرام است.

Features (main commands)

  • 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.

Download

Get the latest version from GitHub.

Build instruction

Only tested on go version 1.20

  1. Install golang
  2. git clone https://github.com/lilendian0x00/xray-knife.git
  3. cd xray-knife
  4. go build .

Screenshots

http test CSV report

sample1

http test log

sample2

TODO

protocols - parse

  • 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://...)
  • Load config from json file

subs

  • Fetch config links inside subscription
  • Sort config links based on their real delay test when saving them into a file

net

  • Add icmp (ping) tester
  • Add tcp connection delay tester
  • Add full connection delay (AKA real delay) tester
  • Add speed tester for http

proxy

  • Added CLI client feature
  • Option to switch outbound connection automatically based on passed parameter (E.g. interval, availability) (rotating proxy)

scan (under development)

  • Cloudflare best IP finder (whitelist scanner)
  • Xray REALITY scanner (TLS, H2)

About

A swiss army knife for xray-core to do task such as parsing xray config links, network testing, switch outboud automatically etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%