ApfelTeeSaft / Pynite

A Fortnite Backend written in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Fortnite Backend written in Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%