RealityNet / teleparser

Telegram cache4.db parser
MIT License
60 stars 13 forks source link

database disk image is malformed #6

Closed ufgf closed 3 years ago

ufgf commented 3 years ago

Describe the bug I'm trying to use teleparser on cache4.db and it doesn't seem to work, I run following command: python3 teleparser.py cache4.db out_folder and it gives me this error: sqlite3.DatabaseError: database disk image is malformed

Script logs https://pastebin.com/iL0EPVvN

OS used to execute the script (please complete the following information):

Telegram app (please complete the following information):

Additional context cache4.db-wal and cache4.db-shm I also put next to the cache4.db

dfirfpi commented 3 years ago

hi @ufgf the script has no role here. Most likely the db is partially corrupted.

Please check the steps in the following resources https://sqliteviewer.com/blog/database-disk-image-malformed/ https://techblog.dorogin.com/sqliteexception-database-disk-image-is-malformed-77e59d547c50?gi=b5d343e2e000