Skip to content

Instantly share code, notes, and snippets.

View WorkingRobot's full-sized avatar
🎯
Focusing

Asriel WorkingRobot

🎯
Focusing
View GitHub Profile
@WorkingRobot
WorkingRobot / steamotp.py
Created January 14, 2023 00:48
Converts totp secret to Steam code
# Steam uses the standard totp algorithm but instead of displaying the value modulo 1000000, it converts the value to a base26 string
# Take the uri from the generated .maFile from https://github.com/Jessecar96/SteamDesktopAuthenticator
# Make sure to select no encryption so you can open the json from a text editor
# Ported from https://github.com/geel9/SteamAuth/blob/96ca6af3eb03d1a45f7fbff78851f055ba47c0d4/SteamAuth/SteamGuardAccount.cs#L85
from base64 import b32decode
from hmac import digest
from time import time
@Amrsatrio
Amrsatrio / AccountService.java
Last active March 25, 2025 03:01
some epic/fortnite endpoints
package com.tb24.fn.network;
import com.google.gson.JsonObject;
import com.tb24.fn.model.account.*;
import retrofit2.Call;
import retrofit2.http.*;
import java.util.List;
import java.util.Map;