unverbuggt / mkdocs-encryptcontent-plugin

A MkDocs plugin that encrypt/decrypt markdown content with AES
https://unverbuggt.github.io/mkdocs-encryptcontent-plugin/
MIT License
123 stars 15 forks source link

Strange item... Recover Password #55

Closed JamesRivers closed 9 months ago

JamesRivers commented 9 months ago

Ok this is odd.. my mkdocs.yml file and main branch has gone and I am left with just the gh-pages branch... so I cannot view the password I set on this site via the yml. Is there a way to recover the password?

unverbuggt commented 9 months ago

Oh, that's bad. Hope you can recover the branches somehow (maybe try something like this, because git normally doesn't delete anything completely, if it was checked in once).

There is absolutely no way to recover a password from a generated page. However, if the password was not very long, you might be able to brute force it. And, if you didn't encrypt the search index, then all the pages content can be found in the index somewhere.

JamesRivers commented 9 months ago

thanks @unverbuggt the branches listed is only gh-pages