Based on reverse engineering /usr/lib/libponimg.so
git clone https://github.com/xxtea/xxtea-c
cd xxtea-c
cmake .
make
cd ..
gcc -static -I./xxtea-c -L./xxtea-c -o test test_decrypt.c -lxxtea
./test
Based on reverse engineering /usr/lib/libponimg.so
git clone https://github.com/xxtea/xxtea-c
cd xxtea-c
cmake .
make
cd ..
gcc -static -I./xxtea-c -L./xxtea-c -o test test_decrypt.c -lxxtea
./test
| package main | |
| import ( | |
| "bytes" | |
| "crypto/rsa" | |
| "crypto/x509" | |
| "encoding/binary" | |
| "fmt" | |
| "math/big" | |
| "os" |
ℹ️ The following method has been discussed and confirmed on https://discord.pon.wiki as I don't have physical access to the hardware.
The AN5500 is manufactured by Gemtek Technology Co. and deployed by Lumen/Quantum/CenturyLink for use on their PON network.
Moved to a repo https://github.com/up-n-atom/xmlc
toolbox create
toolbox enter
sudo dnf install arm-none-eabi-gcc arm-none-eabi-newlib make gcc
mkdir w600 && cd $_
wget http://winnermicro.com/upload/1/editor/1584693446529.zip
unzip 1584693446529.zip -d ./sdk
rm 1584693446529.zip| #!/bin/sh | |
| PF='ens1f${p}' | |
| VF=${PF}'v${v}' | |
| NUM_PF=2 | |
| # space seperated number of virtual functions per physical function | |
| NUM_VF=3 |
| rule font_load | |
| { | |
| strings: | |
| $STR = { 51 52 56 57 1e 8e c2 8b d9 26 8b 77 ?? 03 f1 d1 e0 8b f8 8b bd ?? ?? 26 8b 4f ?? c1 e1 03 8e 06 ?? ?? 8e da (f3 a5 | a5 e2 fd ) 1f 5f 5e 5a 59 cb } | |
| condition: | |
| $STR | |
| } | |
| rule put_sprite |
| #include <std/io.pat> | |
| #include <std/mem.pat> | |
| #include <std/string.pat> | |
| #define SAVE_DATA_SIZE 96 | |
| #define NAME_LENGTH 16 | |
| namespace type { | |
| struct PackedBCD<auto Nibbles> { | |
| u8 bytes[Nibbles / 2]; |
| //------------------------------------------------ | |
| //--- 010 Editor v8.0 Binary Template | |
| // | |
| // File: WSC_EEPROM.bt | |
| // Authors: up-n-atom | |
| // Version: 1.0 | |
| // Purpose: Parse WonderSwan Color/SwanCrystal internal EEPROM | |
| // Category: | |
| // File Mask: *.bin | |
| // ID Bytes: |