Identifying an unknown data encoding? -


i'm trying understand undocumented api have discovered, , can't past format of data being returned.

here example of when perform get on url i'm looking at:

a+uzl4258wxdnwztlepjnxtdl3tu4hrittw2auwqhuk5c6batsbu/xsqevittcpi7wrw/oxwiblot8+cdtuwbag3mzk3clohkpvi7pwpf7jqcsbjngh+5iv5gb8by2k31kp62sfwz+i8r/3ta6ngrnjb6edob7d0c6f34rtfrrrzsejtiwyxaj5jed3yjy+c 

at first thought base64 encoded, gives me gibberish:

echo -n "<above snippet>" | base64 -d ?/???ݝl?c?5vy??????,?8?s?@m t?{r-?*h? ???ֈhoϜv??7?97p?!(???????   &?4h~???i7?jz???g輯???Ʈr[??n?ts?w??f??i?m?f?ix=?%? 

when strip url down domain, website cyrillic text. maybe data converted cyrillic somehow?

does data format familiar you?

i'll continue keep trying , report if make progress.

this base64, because of / , + characters.

when decode string using base64, hexdump:

00000000  03 eb 99 2f 8d b9 f3 05  dd 9d 6c ed 94 43 c9 35  |.../......l..c.5| 00000010  7b 5d 97 74 ee e2 14 48  4e d5 b6 01 4c 10 1d 42  |{].t...hn...l..b| 00000020  b9 73 a0 40 4d 20 54 fd  7b 10 11 52 2d b4 2a 48  |.s.@m t.{..r-.*h| 00000030  ef 0a d6 fe 85 d6 88 19  68 4f cf 9c 76 d5 16 05  |........ho..v...| 00000040  a8 37 9b 39 37 70 ba 21  28 fb e2 ec f5 a9 7f b8  |.7.97p.!(.......| 00000050  ea 09 26 e3 34 68 7e e4  8b f9 19 bf 1b cb 69 37  |..&.4h~.......i7| 00000060  d6 4a 7a da c7 f0 67 e8  bc af fd d3 03 a9 c6 ae  |.jz...g.........| 00000070  72 5b e9 e7 4e 07 b7 74  73 a1 77 e1 14 c5 46 ba  |r[..n..ts.w...f.| 00000080  d9 49 e2 6d 89 66 17 00  9e 49 78 3d f2 25 8f 82  |.i.m.f...ix=.%..| 

this looks 128 bytes of random data. , whenever call api url again, different string, although starts same few characters.

perhaps should ask maintainers of website how use api. maybe string session id should use in further calls.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -