Last active
September 21, 2023 22:13
-
-
Save dewomser/afc99781498dff9cc706b4d22324257e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FYI, when a website erases your text that you just spent an hour writing, you can use this little trick to recover it 99% of the time: | |
1. find the firefox pid | |
$ pgrep -l firefox | |
2. attach gdb to firefox and dump its core | |
$ sudo gdb -p <pid> | |
gcore firefox.dump | |
<this takes awhile> | |
quit | |
<firefox dies> | |
3. find your lost text in the coredump | |
$ strings firefox.dump | grep "a unique word/sentence from ur text" | |
i just did this today to recover a long post i wrote, and figured i'd show others!! :uxn: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Firefox. Verlorenen Text aus einem Formular mit einem Coredump wieder herstellen.
Wer sich das traut gewinnt (Zeit)