News for hackers. Stuff that matters.
Re:How Not to Redact a Warhead by tpoacher on Thursday June 03, 2021 @06:16AM (#27379182)
Reminds me of my favourite winner of the underhanded c contest, back in 2008 http://notanumber.net/archives/54/underhanded-c-the-leaky-re...

Effectively this draws 'black boxes', but in a way that allows the developer to recover much information from the document if desired.

The trick is in the ppm format, where a 0, 00, and 000 are all valid 'black' values. The redaction works by turning all 'digits' into zeros in the specified area ... but obviously you can recover much information by turning those zeros back into full values. In the case of black-on-white text, this effectively recovers the text completely. Brilliant!

There are no comments on this comment yet.