数据先压缩后base64加密过程反过来:
import base64
import zlib
a = 'eJxVj1FPwkAMx79Lny/brru7jb0pKhkcGrkBiuFhAm4LAzZuCNP43e0SfDBp0n9//bdpv+EYryHinucJzuBzc4QIuOM5Chg0ljoyUIEUvYArETJY/WMoERm8H2d3EL1xPwiZDMWyIxMCRJRigQqX7CqRJAqKzhOTBfKmqSLXPZ/PzrpI91Wxz5zVYefa/FC5Cn30e5IuARrYJd0AF0whEaQ9foe3HaacXnPzV4/pEzLaItuT2gwvibHC1h+TsU1mpm17I2Ow1SuuzdTXX/fN49R8PrX98MZU2WIwsYu5rPsnM5jdpjvMs0V9Sefy9Fo+lC9qeErLeLCtTYuXRGs9KjI0bal1+dxP4twdwc8vQk5hrQ=='
b = base64.b64decode(a)
print(b)
c = zlib.decompress(b)
print(c)
print(c.decode())
# 结果
b : b'x\x9cU\x8fQO\xc2@\x0c\xc7\xbfK\x9f/\xdb\xae\xbb\xbb\x8d\xbd)*\x19\x1c\x1a\xb9\x01\x8a\xe1a\x02n\x0b\x036n\x08\xd3\xf8\xdd\xed\x12|0i\xd2\x7f\x7f\xfd\xb7i\xbf\xe1\x18\xaf!\xe2\x9e\xe7\t\xce\xe0ss\x84\x08\xb8\xe39\n\x184\x96:2P\x81\x14\xbd\x80+\x112X\xfdc(\x11\x19\xbc\x1fgw\x10\xbdq?\x08\x99\x0c\xc5\xb2#\x13\x02D\x94b\x81\n\x97\xec*\x91$\n\x8a\xce\x13\x93\x05\xf2\xa6\xa9"\xd7=\x9f\xcf\xce\xbaH\xf7U\xb1\xcf\x9c\xd5a\xe7\xda\xfcP\xb9\n}\xf4{\x92.\x01\x1a\xd8%\xdd\x00\x17L!\x11\xa4=~\x87\xb7\x1d\xa6\x9c^s\xf3W\x8f\xe9\x132\xda"\xdb\x93\xda\x0c/\x89\xb1\xc2\xd6\x1f\x93\xb1Mf\xa6m{#c\xb0\xd5+\xae\xcd\xd4\xd7_\xf7\xcd\xe3\xd4|>\xb5\xfd\xf0\xc6T\xd9b0\xb1\x8b\xb9\xac\xfb\'3\x98\xdd\xa6;\xcc\xb3E}I\xe7\xf2\xf4Z>\x94/jxJ\xcbx\xb0\xadM\x8b\x97Dk=*24m\xa9u\xf9\xdcO\xe2\xdc\x1d\xc1\xcf/BNa\xad'
c : b'{"rId":100041,"ver":"1.0.6","ts":1576754971648,"cts":1576754972522,"brVD":[1378,584],"brR":[[1366,768],[1366,728],24,24],"bI":["",""],"mT":["14,62","224,3"],"kT":[],"aT":[],"tT":[],"aM":"","sign":"eJxTSs4sqfRMsTVSyy9KSS2yLc1LSU3LzEtNUSvOyC8ASpgZGRsZW5qCuSGVBam2hgZqxaW5uYlFlX6JualIGkqSy2xTLLLKig2SylLLlQCTIh/K"}'
c.decode() : {"rId":100041,"ver":"1.0.6","ts":1576754971648,"cts":1576754972522,"brVD":[1378,584],"brR":[[1366,768],[1366,728],24,24],"bI":["",""],"mT":["14,62","224,3"],"kT":[],"aT":[],"tT":[],"aM":"","sign":"eJxTSs4sqfRMsTVSyy9KSS2yLc1LSU3LzEtNUSvOyC8ASpgZGRsZW5qCuSGVBam2hgZqxaW5uYlFlX6JualIGkqSy2xTLLLKig2SylLLlQCTIh/K"}
网友评论