This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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}; |