News for hackers. Stuff that matters.
Re:What is the smallest possible valid PDF? by rolph on Thursday January 04, 2024 @04:55PM (#38872813)
this may be helpful. file utilities often make turds in the file.

use a hexeditor to handcraft a file, and you can trim it down to a header and footer

https://resources.infosecinstitute.com/topics/hacking/pdf-fi...