Surfboardv2ray / batch-fragment-scanner

Batch Test v2ray fragment values to see which one works best on your network.
https:/t.me/Surfboardv2ray
MIT License
133 stars 13 forks source link
batch-script batch-tool fragment fragments json ping powershell-script tls tls-fragmentation trojan v2ray v2rayn v2rayng vless vless-ws-tls vmess vmess-ws-tls

Batch Fragment Scanner

Batch Test v2ray fragment values to see which one works best on your network.

Version Download Stars

0

How to - Windows 10

To avoid conflicts, ensure any app using xray core is closed (otherwise the core process will be terminated)

Downlaod xray.exe from the official Xray-core Github Repository and put it in the same folder as the powershell script.

Create config.json, can be vmess, vless or trojan. Make sure it has "fragment" attributes too, values don't matter (use tools like IRCF Space to create fragment json config). Put it in the same folder as the powershell script as well.

✴️ Only if you desire, edit the .ps1 script at Arrays of possible values for "packets", "length", and "interval" based on your network. Values are used randomly in combination.

🧧 Right click and run the ps1 file with PowerShell. Confirm the Execution policy bypass via typing and sending y to run the script.

✅ Enter number of instances, i.e the rounds of random combination of fragment values.

✅ Enter the timeout for each ping test, i.e amount of time the test will wait for response.

✅ Enter HTTP Listening port. This depends on your json config. Default is 10809.

✅ Enter number of requests per instance, i.e how many times a fragment set of values should be tested.

🎆 After the code runs and finishes up, you'll get the top three (best) pings with their fragment values, and logs will be saved to pings.txt. The file contains response time with each fragment instance, with the average response time as well.

🎆 Xray Core Logs are saved separately to xraylogs.txt so be sure to check it out after the run for detailed info and possible errors.

0

Stargazers

Stargazers over time