knock up GFW detection with packet fragmentation method PoC
You can get the release of gfwKnock from Releases section
Make sure to properly set configuration file.
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
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
}
Licensed under the GPL-3 license.