3 ms·
Love this PS: > This post brought to you by gdb and grep -a, because after typing all that out as a quote toot and deciding that nah, I wanted it standalone, I
by brundolf 4y ago
Love this PS:
> This post brought to you by gdb and grep -a, because after typing all that out as a quote toot and deciding that nah, I wanted it standalone, I clicked the "x" next to the quote box (which implies removing the quote association) and that didn't just cancel the quote, it deleted all the text.
> So I attached gdb to the Firefox content process hosting this tab, took a core dump, and grepped it for the lost text. I wasn't about to write all that again from scratch.
- 650 4y agoAnywhere to learn more about doing this kind of stuff?
- worldsavior 4y agoExperience.
- pitched 4y agoFor a quick starting point, try gcore[1]. Open the file it pops out into your favourite editor and hope that search works. For gentler introduction, look for CTF sites. The one that gets recommended most is tryhackme.com. There are a bunch of great ones though. 1 - https://man7.org/linux/man-pages/man1/gcore.1.html https://man7.org/linux/man-pages/man1/gcore.1.html