Skip to content

Instantly share code, notes, and snippets.

View eXhumer's full-sized avatar
:octocat:
Rocking some tunes and coding probably

eXhumer

:octocat:
Rocking some tunes and coding probably
View GitHub Profile
@eXhumer
eXhumer / public.pem
Created February 2, 2025 00:27
RSA-2048 Public Key used to verify Formula1.com subscriptionToken
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvbwVD5LF4nzJAbWxoClm
gpnCTHgRrFayyadlBAxUiJwC+qLPCARNar+5LKuA9bs3LByMQ1+zOXwdaZVu5UJ0
y1FDoOdjFJGF+5hB0vk6IUR8xajU/xQIL1UZ55l5pylZh8JqhcZ6T6vIV8PA5E2U
EI9cI+g8HqfSLyFUK61nsXttttloFGbI3JF+sXS/UaFyjxsea7hvWYGtHXzDAGle
B5Gkd5Ci0sY5hXqwR0qZgAe96Utf4IG8YaFD7Efl3mZ2IX5riKe0T67seg8wmPwv
SxdcO8xvxmoaUXylbCdbNeFsbu4Fz8RpxqvHx7kzg5EB0/JeDqBxjQdfOQreriWe
LQIDAQAB
-----END PUBLIC KEY-----
@eXhumer
eXhumer / download-mkbhd-panels.js
Last active September 28, 2024 08:20
Download all wallpaper assets from MKBHD's Panels app
import { createWriteStream } from 'fs';
import { mkdir } from 'fs/promises';
import { pipeline } from 'stream/promises';
// https://stackoverflow.com/a/47767860/13157538
const getURLExtension = url => {
return url.split(/[#?]/)[0].split('.').pop().trim();
}
/**
@eXhumer
eXhumer / Tinfoil-New-Index-Info.md
Last active April 5, 2024 18:59
New Tinfoil Index Information

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