{"id":14980263,"url":"https://github.com/surfboardv2ray/batch-fragment-scanner","last_synced_at":"2026-03-11T16:38:41.767Z","repository":{"id":240310462,"uuid":"802286620","full_name":"Surfboardv2ray/batch-fragment-scanner","owner":"Surfboardv2ray","description":"Batch Test v2ray fragment values to see which one works best on your network.","archived":false,"fork":false,"pushed_at":"2024-05-22T15:42:08.000Z","size":35,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T16:52:48.831Z","etag":null,"topics":["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"],"latest_commit_sha":null,"homepage":"https:/t.me/Surfboardv2ray","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Surfboardv2ray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-17T22:41:32.000Z","updated_at":"2024-05-27T12:16:39.886Z","dependencies_parsed_at":"2024-05-22T16:50:09.031Z","dependency_job_id":null,"html_url":"https://github.com/Surfboardv2ray/batch-fragment-scanner","commit_stats":null,"previous_names":["surfboardv2ray/batch-fragment-test","surfboardv2ray/batch-fragment-scanner"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Fbatch-fragment-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Fbatch-fragment-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Fbatch-fragment-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Fbatch-fragment-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Surfboardv2ray","download_url":"https://codeload.github.com/Surfboardv2ray/batch-fragment-scanner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238738013,"owners_count":19522292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-09-24T14:01:31.735Z","updated_at":"2025-10-28T23:31:20.261Z","avatar_url":"https://github.com/Surfboardv2ray.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eBatch Fragment Scanner\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eBatch Test v2ray fragment values to see which one works best on your network.\u003c/h2\u003e\n\n[![Version](https://img.shields.io/github/v/release/surfboardv2ray/batch-fragment-test?label=Version\u0026color=blue)](https://github.com/surfboardv2ray/batch-fragment-test/releases/latest)\n[![Download](https://img.shields.io/github/downloads/surfboardv2ray/batch-fragment-test/total?label=Downloads)](https://github.com/surfboardv2ray/batch-fragment-test/releases/latest)\n[![Stars](https://img.shields.io/github/stars/surfboardv2ray/batch-fragment-test?style=flat\u0026label=Stars\u0026color=tomato\n)](https://github.com/surfboardv2ray/batch-fragment-test)\n\n* ### راهنمای [🇮🇷 فارسی](https://telegra.ph/%D8%A7%D8%B3%DA%A9%D9%86%D8%B1-%D9%81%D8%B1%DA%AF%D9%85%D9%86%D8%AA-05-27)\n* ### [Android Termux/Linux](https://github.com/Ptechgithub/FragmentScanner) Version by P-Tech\n* ### [YouTube Video](https://www.youtube.com/watch?v=wL3-bRxM_2o) Instructions by V2rayIrani\n\n![0](https://raw.githubusercontent.com/Ptechgithub/configs/main/media/line.gif)\n\n## How to - Windows 10\n\n* Ensure v2rayN is closed\n\nTo avoid conflicts, ensure any app using xray core is closed (otherwise the core process will be terminated)\n\n* Download Xray Core\n\nDownlaod `xray.exe` from the official [Xray-core Github Repository](https://github.com/XTLS/Xray-core/releases) and put it in the same folder as the powershell script.\n\n* Create a fragmented json config\n\nCreate `config.json`, can be vmess, vless or trojan. Make sure it has \"fragment\" attributes too, values don't matter (use tools like [IRCF Space](https://fragment.github1.cloud/) to create fragment json config). Put it in the same folder as the powershell script as well.\n\n* Optional step: Edit the script for fragment values\n\n✴️ 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.\n\n\n* Run PowerShell script:\n\n🧧 Right click and run the ps1 file with PowerShell. Confirm the Execution policy bypass via typing and sending `y` to run the script.\n\n✅ Enter number of instances, i.e the rounds of random combination of fragment values.\n\n✅ Enter the timeout for each ping test, i.e amount of time the test will wait for response.\n\n✅ Enter HTTP Listening port. This depends on your json config. Default is 10809.\n\n✅ Enter number of requests per instance, i.e how many times a fragment set of values should be tested.\n\n🎆 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.\n\n🎆 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.\n\n![0](https://raw.githubusercontent.com/Ptechgithub/configs/main/media/line.gif)\n## Stargazers\n[![Stargazers over time](https://starchart.cc/Surfboardv2ray/batch-fragment-scanner.svg?variant=adaptive)](https://starchart.cc/Surfboardv2ray/batch-fragment-scanner)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfboardv2ray%2Fbatch-fragment-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurfboardv2ray%2Fbatch-fragment-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfboardv2ray%2Fbatch-fragment-scanner/lists"}