Giter VIP home page Giter VIP logo

huo4444 / pritunl-fake-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simonmicro/pritunl-fake-api

0.0 0.0 0.0 1.12 MB

This neat script provides a little fake API to unlock all premium/enterprise/enterprise+ (here called ultimate) features of your own Pritunl VPN server. A mirror of https://gitlab.simonmicro.de/simonmicro/pritunl-fake-api

Home Page: https://gitlab.simonmicro.de/simonmicro/pritunl-fake-api

License: GNU Affero General Public License v3.0

Python 1.13% PHP 2.10% CSS 96.73% Dockerfile 0.04%

pritunl-fake-api's Introduction

What is this?

This neat script provides a little fake API to unlock all premium/enterprise/enterprise+ (here called ultimate) features of your own Pritunl VPN server. If Pritunl wouldn't be mostly free already, you could call this a crack. An Open Source crack.

How to setup (server)

Take a look into the server folder: You could use the Pritunl source there (or just download this specific version from their GitHub repo) to compile a guaranteed compatible version for this API or just download any other version of the Pritunl server and try your luck. Then you'll need to execute the setup.py script (preferable as root, as it needs to modify the Pritunl files directly). After that log in into the dashboard - there should be a "Update Notification":

login-msg

Now try to enter any serial key for your subscription and just follow the hints/notes if you enter an invalid command:

enter-something

A valid command would be bad premium or active ultimate:

active-ultimate

If everything worked, your subscription should now look like this:

done

Make sure to support the developers by buying the choosen subscription for your enterprise or company!

How to setup (api) (optional)

This is optional. You can simply use the default instance of this API (host is noted inside the setup.py script) and profit from "automatic" updates.

Just transfer the www files inside a public accessible root-folder on your dedicated Apache webserver (really everthing with PHP support works). Also make sure your instance has a valid SSL-certificate (Let's encrypt is enough), otherwise it may won't work. An example Apache install process can be found here. If you want to test your instance, just open the public accessible URI in your browser and append /healthz to it - if you see some JSON with the text, then everything worked!

Nett2Know

  • This modification will also block any communication to the Pritunl servers - so no calling home :)
  • SSO will not work with this api version! As Pritunls own authentication servers handle the whole SSO stuff, track instance ids and verify users, I won't implement this part for privacy concerns (and also this would need to be securly implemented and a database).
  • This api has also its own docker image. Take a look into the docker folder and enjoy!

Have fun with your new premium/enterprise/ultimate Pritunl instance!

pritunl-fake-api's People

Contributors

simonmicro avatar arthursimas1 avatar tuxpowered avatar fledermaus101 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.