-
Readme in ๐ฎ๐ท Farsi
-
Android Termux/Linux Version by PTech
- Ensure v2rayN is closed
To avoid conflicts, ensure any app using xray core is closed (otherwise the core process will be terminated)
- Download Xray Core
Downlaod xray.exe
from the official Xray-core Github Repository and put it in the same folder as the powershell script.
- Create a fragmented json config
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.
- Optional step: Edit the script for fragment values
โด๏ธ Edit the .ps1 script at Arrays of possible values
for "packets", "length", and "interval" based on your network. Values are used randomly in combination.
- Run PowerShell script:
๐งง 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.