Hacker News new | ask | show | jobs
by vagab0nd 136 days ago
Interesting article. What prevents me from dumping the memory of the shell process and reading the local variable?

My program requires a password on startup. To run it in a loop, I used a script that takes the password as input, stores it in a local variable, and echoes it to the program. At the time I thought the only weakness was the memory of the shell process. But it was the best I could come up with.