abrignoni / ALEAPP

Android Logs Events And Protobuf Parser
MIT License
463 stars 97 forks source link

Teleguard "mediaFiles" support #481

Open thenicnic opened 2 months ago

thenicnic commented 2 months ago

This tool is insane! Could maybe the support for parsing only thumbnail images for Teleguard implemented? I'm trying to add it by myself but doesn't work yet.

The JSON scheme that does work:

"files" : {
        "ee111111-b333-44oo-78za-123456789aa" : "IMG_1000.jpg",
        "bb222222-b333-44oo-67aa-123456789aa" : "IMG_2.jpg"
    }

The JSON format that is not recognized (not key value but id and name in an array):

    "mediaFiles" : [
        {
            "id" : "ee111111-b333-44oo-78za-123456789aa",
            "name" : "IMG_1000.jpg",
            "mediaType" : "IMAGE",
            "order" : 0,
            "duration" : null,
            "blurHash" : "ULJZ#~gkodkgodkoptzkr324n34knr",
            "aspectRatio" : 0,563380281690141
        },
        {
            "id" : "bb222222-b333-44oo-67aa-123456789aa",
            "name" : "IMG_2.jpg",
            "mediaType" : "IMAGE",
            "order" : 1,
            "duration" : null,
            "blurHash" : "UKJ?fserpt#f|4u590r90t59086094",
            "aspectRatio" : 0,563380281690141
        }
    ]