Code Monkey home page Code Monkey logo

batch-fragment-scanner's Introduction

Batch Fragment Scanner

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

How to - Windows 10

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

  • Open 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 Proxy port. This depends on your json config. The deafault is 10809.

๐ŸŽ† 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.

batch-fragment-scanner's People

Contributors

surfboardv2ray avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.