/Pynite

A Fortnite Backend written in Python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Pynite The first Public Fortnite backend written in python

Stuff working right now:

-Basic Authentication with Static Replies

-User Agent Detection (Auto Season Assign, refer to main.py line 33 and 69 (ong that wasn't on purpose)

-More comming soon

How to set up?

First Install python from Here
Second run install.py to install very important stuff :)
After that run python main.py in the dir to start the backend
Then you have to redirect your build to your backend so run this Fiddler script:


import Fiddler;

class Handlers
{
    static function OnBeforeRequest(oSession: Session) {
        if (oSession.hostname.Contains("ol.epicgames.") ||            // Epic's Backend
            oSession.hostname.Contains("s3-us-west-1.amazonaws.com")) // waitingroom retry config
        {
            if (oSession.HTTPMethodIs("CONNECT"))
            {
                oSession["x-replywithtunnel"] = "ServerTunnel";
                return;
            }
            oSession.fullUrl = "http://127.0.0.1:8383/" + oSession.PathAndQuery
        }
    }
}



After that Your done, Enjoy!
Ps: Made in one day, don't expect it to run flawlessly