Skip to content

Spider-Admin/Frost-Repair

Repository files navigation

Frost-Repair

I was writing a FrostImporter for Spider to automatically import keys from Frost. Frost stores its data in dbs-files, which are object-oriented embedded databases, called Perst, made by McObject.

While importing the data, Spider crashed because there were some dangling references in the dbs-files: messages.dbs stores the subject, the author and more metadata of a message, while messagesContents.dbs stores the message itself. I had several messages in messages.dbs, but no message in messagesContents.dbs. According to the subject these missing messages were all spam-messages, so I simply created empty new messages in messagesContents.dbs.

Frost-Repair reads all messages and their content and copies them to a new dbs-file. If the content of a message can't be read, the content is replaced with an empty string. This allowed me to read all relevant dbs-files of my Frost to import keys for Spider.

Requirements

Build

  1. Download the source code and extract it.
  2. Open a command prompt in the root-directory of the extracted source code.
  3. Run the following command: gradlew distZip. This will create the zip-archive build/distributions/Frost-Repair.zip.
  4. Extract the generated zip-archive.

Run

Run Frost-Repair with bin/Frost-Repair path-to-Frost to repair your dbs-files.

Contact

Author: Spider-Admin

Freemail: spider-admin@tlc66lu4eyhku24wwym6lfczzixnkuofsd4wrlgopp6smrbojf3a.freemail 1

Frost: Spider-Admin@Z+d9Knmjd3hQeeZU6BOWPpAAxxs

FMS: Spider-Admin

Sone: Spider-Admin 2

I do not regularly read the email associated with GitHub.

License

Frost-Repair by Spider-Admin@Z+d9Knmjd3hQeeZU6BOWPpAAxxs is licensed under the Apache License, Version 2.0.

The package "frost" and its content was taken from Frost. I slightly changed the code to reduce the dependencies to the other parts of Frost.

Footnotes

  1. Freemail requires a running Hyphanet node

  2. Link requires a running Hyphanet node at http://localhost:8888/

About

Frost-Repair tries to repair broken dbs-files of Frost

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages