Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Rocking some tunes and coding probably

eXhumer

:octocat:
Rocking some tunes and coding probably
View GitHub Profile
View oauth2_aiohttp_local_server_code_flow.py
from __future__ import annotations
from asyncio import run, sleep
from random import choice
from string import ascii_letters, digits
from urllib.parse import urlencode, urlparse
from aiohttp import web
class OAuth2AuthCodeFlowWebApp:
@eXhumer
eXhumer / Makefile
Created Jun 12, 2020
Makefile including recipe to make homebrew Nintendo Switch applications as NSP
View Makefile
ifndef DEVKITPRO
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>/devkitpro")
else
include $(DEVKITPRO)/libnx/switch_rules
endif
TARGET := hbmenu-loader
ASSETS := assets
BUILD := build
SOURCE := source
@eXhumer
eXhumer / Tinfoil-New-Index-Info.md
Last active May 1, 2021
New Tinfoil Index Information
View Tinfoil-New-Index-Info.md

New Tinfoil Index Information

Offset Size Description
0x0 0x7 Tinfoil Index Magic "TINFOIL"
0x7 0x1 Index Type Information (1)
0x8 0x100 Session Key (PKCS#1 OAEP encrypted randomly generated AES Key used to encrypt index) (2)
0x108 0x8 Unencrypted Index Size
0x110 X Index Data