Giter Site home page Giter Site logo

luckypoem / udp53-filter-type Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bennythink/udp53-filter-type

0.0 3.0 0.0 9.8 MB

A script to detect your hotspot's interception/filter of packet via UDP53.

Home Page: https://www.bennythink.com/udp53.html

License: MIT License

Python 98.64% Batchfile 1.36%

udp53-filter-type's Introduction

What's this?

This Python script is aimed to test your hotspot's interception/filter of UDP 53. Besides, DHCP(67/68) is also a good option.

What's the purpose?

The good news is, if your hotspot DOES NOT filter any kind of UDP 53 Packet, you may want to setup an OpenVPN server with UDP 53 in order to bypass Web Auth so you could surf the internet without paying fees. Sometimes under some rare conditions the test just went wrong, so you may wanna test it a few times to make it more accurate.

What's that IP Address?

That IP is my server to perform the response. It's a sad news I haven't found a public server that could meet my needs(check THEORY.MD for more info). By the way, this server is about to close(in a few months). I'm looking for alternatives.

Quick Start

If you have Python

git clone https://github.com/BennyThink/UDP53-Filter-Type
cd UDP53-Filter-Type
python UDP53.py

If not...

(For Windows user only) Download and open the dist directory. By then you'll see an udp.exe. Double-click it!

If you have Python...Option 2

Fire up a terminal, type python and enter:

import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('123.206.87.223', 53))

If you see complains about connection refuse, then try OpenVPN.

My test passed, how can I bypass Web Auth?

Just simply setup an OpenVPN server with UDP Port 53. If you are newbie to this, simply click me for more info.

I want to build exe file by myself.

Ok, install Python and corresponding version of pyinstaller. Then run build_exe.cmd, you would get an single exe file.

Environment

Windows/Linux with Python 2.7 test passed. Also support Python 3.6

See Also

error code

theory

License

Published under MIT License.

udp53-filter-type's People

Contributors

bennythink avatar

Watchers

James Cloos avatar  avatar  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.