GithubHelp home page GithubHelp logo

gfwknock's Introduction

gfwKnock

go

knock up GFW detection with packet fragmentation method PoC

Installation

Getting the Latest Release

You can get the release of gfwKnock from Releases section

Make sure to properly set configuration file.

Building from Source

Clone the Repository this by running this command :

 git clone https://github.com/SonyaCore/gfwKnock.git

Now Cd into project directory and use the following command to compile the program and then run the compiled binary :

cd gfwKnock
go build -o gfwKnock -ldflags "-s -w -buildid=" .
 ./gfwKnock

Configuration

gfwKnock Uses default a configuration file with the following specifications :

  • listen_port : port for running gfwKnock client.
  • cloud_flare_ip : cloudflare ip.
  • cloud_flare_port : cloudflare port.
  • socket_timeout: time in seconds for closing the server socket if the socket doesn't respond.
  • fragment_sleep : sleep in milliseconds between each fragment.
  • l_fragment : length of fragments of Client hello packets.

example of config.json :

{
  // key : value : type
  "listen_port": 8080, // Integer
  "cloud_flare_ip": "45.85.118.88", // String
  "cloud_flare_port": 443, // Integer
  "socket_timeout": "60", // int Seconds
  "fragment_sleep": "100" // int Miliseconds,
  "l_fragment": 77 // int Byte

}

License

Licensed under the GPL-3 license.

gfwknock's People

Contributors

danielcoderx avatar sonyacore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.