V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
xinhaiw
V2EX  ›  问与答

有大佬知道这是啥 encode 吗

  •  
  •   xinhaiw · 31 天前 · 1084 次点击
    0, 10, 49, 46, 51, 46, 48, 10, 112, 97, 105, 114, 115, 0, 0, 0, 0, 80, 31, 241, 64, 28, 133, 235, 169, 102, 75, 117, 65, 0, 0, 0, 0, 38, 57, 49, 65, 52, 51, 179, 68, 17, 150, 177, 65, 0, 0, 0, 128, 196, 59, 91, 65, 8, 0, 224, 191, 64, 191, 220, 65, 0, 0, 0, 48, 250, 21, 118, 65, 232, 81, 148, 219, 175, 128, 252, 65, 200, 1, 0, 12, 115, 111, 108, 97, 110, 97, 14, 114, 97, 121, 100, 105, 117, 109, 0, 88, 57, 116, 78, 50, 106, 116, 106, 74, 85, 53, 111, 119, 54, 57, 98, 119, 119, 116, 65, 86, 98, 111, 102, 54, 107, 121, 89, 70, 85, 78, 103, 121, 77, 69, 78, 86, 71, 119, 82, 87, 67, 103, 66, 99, 88, 50, 81, 51, 109, 65, 82, 104, 71, 90, 57, 80, 104, 105, 97, 105, 49, 116, 120, 71, 84, 88, 88, 74, 98, 78, 50, 101, 83, 120, 116, 99, 78, 88, 110, 88, 98, 102, 111, 101, 120, 112, 117, 109, 112, 30, 80, 101, 97, 110, 117, 116, 32, 72, 117, 115, 98, 117, 108, 108, 97, 10, 80, 72, 85, 83, 66, 2, 0, 0, 0, 0, 0, 0, 24, 64, 0, 86, 83, 111, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 50, 22, 87, 114, 97, 112, 112, 101, 100, 32, 83, 79, 76, 6, 83, 79, 76, 2, 0, 0, 0, 0, 0, 0, 34, 64, 6, 83, 79, 76, 22, 48, 46, 48, 48, 48, 48, 48, 49, 55, 51, 50, 2, 18, 48, 46, 48, 48, 48, 52, 49, 55, 51, 0, 0, 0, 0, 0, 0, 62, 64, 0, 0, 0, 0, 0, 0, 42, 64, 0, 0, 0, 0, 0, 168, 133, 64, 0, 0, 0, 0, 0, 32, 119, 64, 0, 0, 0, 0, 0, 97, 192, 64, 0, 0, 0, 0, 0, 21, 181, 64, 0, 0, 0, 0, 128, 88, 216, 64, 0, 0, 0, 0, 0, 87, 201, 64, 2, 0, 0, 0, 0, 0, 0, 48, 64, 0, 0, 0, 0, 0, 224, 119, 64, 0, 0, 0, 0, 0, 165, 187, 64, 0, 0, 0, 0, 128, 245, 213, 64, 2, 0, 0, 0, 0, 0, 0, 42, 64, 0, 0, 0, 0, 0, 192, 115, 64, 0, 0, 0, 0, 0, 124, 174, 64, 0, 0, 0, 0, 0, 209, 184, 64, 2, 0, 0, 0, 0, 0, 0, 60, 64, 0, 0, 0, 0, 0, 96, 126, 64, 0, 0, 0, 0, 128, 113, 194, 64, 0, 0, 0, 0, 128, 61, 215, 64, 2, 246, 40,
    8 条回复    2024-11-23 18:18:43 +08:00
    jayasme
        1
    jayasme  
       31 天前
    让 chatgpt 转换为 ascii 后大概内容是:

    1.3.0
    pairs
    Pÿ@…ë©fKuA
    &91A43³D‘±A ÜA0ú vAèQ”Û¯€üAÈ
    solana
    raydium
    X9tN2jtjJU5ow69bwwtAVbof6kyYFUNgyMENVGwRWCgBcX2Q3mARhGZ9Phiai1txGTXXJbN2eSxtcNXnXbfoexpump
    Peanut Husbulla
    PHUSB
    VSoooooooooooooooooooooooooooooooooooooo2
    Wrapped SOL
    SOL
    SOL
    0.000001732
    0.0004173

    看样子是一个二进制文件流,是某个文件的格式
    jayasme
        2
    jayasme  
       31 天前
    大概可能是某区块链相关的文件?
    shintendo
        3
    shintendo  
       31 天前


    都是 0-255 之间的数字,ascii 或者兼容 ascii 编码吧
    xinhaiw
        4
    xinhaiw  
    OP
       31 天前
    这是咋 encode 的呢?是用 protobuf 吗,没试出来
    CapNemo
        5
    CapNemo  
       31 天前   ❤️ 1
    https://pastebin.com/cfXsfZat

    研究了一通,感觉 schema 是写死的。发现字符串的长度是乘二后存储在字符串开头的,还挺奇怪。
    xinhaiw
        6
    xinhaiw  
    OP
       30 天前
    @CapNemo 这可能是 protobuf 的吗?
    CapNemo
        7
    CapNemo  
       29 天前
    @xinhaiw 不太可能,protobuf 在编码时会添加对象类型和大小的信息
    xinhaiw
        8
    xinhaiw  
    OP
       27 天前
    decode 代码写了 2000 多行
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2729 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 02:33 · PVG 10:33 · LAX 18:33 · JFK 21:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.