BishopFox / unredacter

Never ever ever use pixelation as a redaction technique
GNU General Public License v3.0
7.66k stars 707 forks source link

Works not with additional Fonts/Colors #7

Closed Bizarrus closed 2 years ago

Bizarrus commented 2 years ago

The approach is good, but it has its weaknesses: The "reverse engineering" works only with a constant font or the right font color.

However, if you use font types other than Arial and other than black (Used by Unredacter), it becomes difficult. Especially if the original font is not known.

0xffccdd commented 2 years ago

I guess it's an issue of the training set - train on a new font? And you can change the color of images...

Bizarrus commented 2 years ago

I think, the best solution is, to create an configuration-file to set global the colors/fonts for that.

Another training solution is, to iterate with one character-part over known fonts to determinate the right.

dan-bishopfox commented 2 years ago

There is no training set, this isn't a machine learning application. You just need to get the right font and change it to that.

5C3P73ROF commented 7 months ago

What should I modify to change the font and background color?