3 ms·
what counts as sanitizing? How do you know a file is malicious?
by chii 9y ago
what counts as sanitizing? How do you know a file is malicious?
- pawadu 9y agoRead data according to spec, drop stuff that is incorrect and write it back. For example if MP3 genre field is 999 bytes long cut it down to 32 bytes.
- Piskvorrr 9y agoEspecially with PDFs, my "sanitization" can be your "stripped away all the fonts and functionality - might as well have given me a plain .TXT", and vice versa.
- rsync 9y ago"might as well have given me a plain .TXT"" Yes, please - that sounds fantastic.