fastogt / fastonosql

FastoNoSQL is a crossplatform Redis, Memcached, SSDB, LevelDB, RocksDB, UnQLite, LMDB, ForestDB, Pika, Dynomite, KeyDB GUI management tool.
https://fastonosql.com
GNU General Public License v3.0
1.18k stars 96 forks source link

Unable to open the skype 8 leveldb #63

Open pkt30 opened 5 years ago

pkt30 commented 5 years ago

I tried to open the skype 8 level db using the FastoNoSql v1.17.6 but each time I got the following error on the console

11:44:53.133: SCAN function error: Corruption: corrupted compressed block contents

I selected indexed_db as comparator and snappy as compression.

The skype 8 level db file is located at C:\Users\machine-username\AppData\Roaming\Microsoft\Skype for Desktop\IndexedDB\file__0.indexeddb.leveldb

topilski commented 5 years ago

Hi @pkt30, please try without compression

topilski commented 5 years ago

Also please try old versions: Windows: https://fastonosql.com/downloads/windows/fastonosql-1.17.4-x86_64.exe https://fastonosql.com/downloads/windows/fastonosql-1.17.4-x86_64.zip

Linux: https://fastonosql.com/downloads/linux/fastonosql-1.17.4-x86_64.deb https://fastonosql.com/downloads/linux/fastonosql-1.17.4-x86_64.rpm https://fastonosql.com/downloads/linux/fastonosql-1.17.4-x86_64.tar.gz

MacOSX: https://fastonosql.com/downloads/macosx/fastonosql-1.17.4-x86_64.dmg https://fastonosql.com/downloads/macosx/fastonosql-1.17.4-x86_64.zip

simplyQQ commented 5 years ago

I have the same error using latest version with and without compression.

1.17.4 seems to open and load contents, but produces following:

capture

what else are we missing and why does latest version not work?

topilski commented 5 years ago

Hi @simplyQQ , it is hexed or unicode strings (binary data). We updated LevelDB from master but LevelDB sources have bug in current master branch, need to wait fixes, or use old versions,.

simplyQQ commented 5 years ago

I've tried different preview methods but neither seems to decode it. These do seem binary, but when viewing raw LDB file I can clearly see text data in it?

topilski commented 5 years ago

No, not readable for human.

pkt30 commented 5 years ago

Earlier I was just able to open the db once, there I also got the similar encoded value. From the UI, there is some menu "get value" from which we could the value which is readable. I do not know if this menu is available in all version.

It's value looks something

� �� o"_serverMessagesAo"isactiveT" threadtopic"GE1" messagetype"RichText"conversationLink"}https://ea2hk2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:eeb791f1941f4805adf02744a557ed50@thread.skype"origincontextid"0" contenttype"text"originalarrivaltime"2018-07-19T10:36:48.075Z"from"Zhttps://ea2hk2-client-s.gateway.messenger.live.com/v1/users/ME/contacts/8:ab.vat"content"test" imdisplayname"abVat"counterpartymessageid" 1531996608501"id" 1531996608501" ackrequired"khttps://ea2hk2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/ALL/messages/1531996608501/ack"version" 1531996608501"type"Message"clientmessageid"2598134417786739980" composetime"2018-07-19T10:36:48.075Z{$

topilski commented 5 years ago

Hi @pkt30 , you can simple enter "get key" command in console. "get value" availible in all versions.

topilski commented 5 years ago

For more inforation: https://github.com/fastogt/fastonosql/wiki/Common-commands

topilski commented 5 years ago

I think symbol: � is snappy compression lenght.

topilski commented 5 years ago

Hello guys, i updated FastoNoSQL version, and fixed LevelDB issue, please check.

simplyQQ commented 5 years ago

I would test it, but my trial has expired :(

topilski commented 5 years ago

@simplyQQ please send an email to support@fastogt.com i will extend your trial

jmvermeulen commented 5 years ago

I can get some values readable by converting them to xHex. But the data still isn't fully correct, seems a kind of reversed.

Edit: If the value is decoded as Sting as BigEndianUnicode the text is quite readable and not reversed any more!

ffrappo commented 5 years ago

Still doesn’t work. @jmvermeulen could you explain your process with more detail?