Skip to content

Instantly share code, notes, and snippets.

View Weinerdrizzle77's full-sized avatar

W.Drizzle.77 Weinerdrizzle77

View GitHub Profile
@Weinerdrizzle77
Weinerdrizzle77 / unscramble-rtlassistant-pin.c
Created August 16, 2025 08:00 — forked from timschneeb/unscramble-rtlassistant-pin.c
PIN generator for `com.samsung.rtlassistant` (RTLAssistant, Version 1.3.6)
#include <stdio.h>
// PIN generator for com.samsung.rtlassistant (RTLAssistant used for Samsung's remote test lab service)
// -> This program produces PIN: 37626543
int main()
{
// Extracted from libcheckPin.so using Ghidra. Search for a named global called 'pin'. The pin is stored as ASCII, but I already converted it to a byte array with the actual numbers. (0x30 -> 0, 0x31 -> 1, ...)
// The pin is scrambled from the algorithm below.
char pin[] = {6, 4, 0, 7, 5, 3, 7, 7, 9, 6, 2, 6, 3, 5, 4, 3, 6, 6, 9, 8};