Live data from Hacker News

Recreating Epstein PDFs from raw encoded attachments

neosmart.net

21–30 of 224 posts

Re: Recreating Epstein PDFs from raw encoded attachments

#21

It decodes to binary pdf and there are only so many valid encodings. So this is how I would solve it. 1. Get an open source pdf decoder 2. Decode bytes up to first ambiguous char 3. See if next bits are valid with an 1, if not it’s an l 4. Might need to backtrack if both 1 and l were valid By being able to quickly try each char in the middle of the decoding process you cut out the start time. This makes it feasible t…

Sounds like a job for afl

Re: Recreating Epstein PDFs from raw encoded attachments

#23
pdftoppm and Ghostscript (invoked via Imagemagick) re-rasterize full pages to generate their output. That's why it was slow. Even worse with a Q16 build of Imagemagick. Better to extract the scanned page images directly with pdfimages or mutool.

Followup: pdfimages is 13x faster than pdftoppm

Re: Recreating Epstein PDFs from raw encoded attachments

#24

This is one of those things that seems like a nerd snipe but would be more easily accomplished through brute forcing it. Just get 76 people to manually type out one page each, you'd be done before the blog post was written.

> Just get 76 people I consider myself fairly normal in this regard, but I don't have 76 friends to ask to do this, so I don't know how I'd go about doing this. Post an ad on craigslist? Fiverr? Seems like a lot to manage.

Amazon Mechanical Turk?

Re: Recreating Epstein PDFs from raw encoded attachments

#25
post #12
post #5

Why not just try every permutation of (1,l)? Let’s see, 76 pages, approx 69 lines per page, say there’s one instance of [1l] per line, that’s only… uh… 2^5244 possibilities… Hmm. Anyone got some spare CPU time?

It should be much easier than that. You should should be able to serially test if each edit decodes to a sane PDF structure, reducing the cost similar to how you can crack passwords when the server doesn't use a constant-time memcmp. Are PDFs typically compressed by default? If so that makes it even easier given built-in checksums. But it's just not something you can do by throwing data at existing tools. You'll need…

On the contrary, that kind of one-off tooling seems a great fit for AI. Just specify the desired inputs, outputs and behavior as accurately as possible.

Re: Recreating Epstein PDFs from raw encoded attachments

#26
post #20
post #7

> it’s safe to say that Pam Bondi’s DoJ did not put its best and brightest on this Or worse. She did.

I mean, the internet is finding all her mistakes for her. She is actually doing alright with this. Crowdsource everything, fix the mistakes. lol.

Let's see her sued for leaking PII. Here in Europe, she'd be mincemeat.

Re: Recreating Epstein PDFs from raw encoded attachments

#27
post #14

If only Base64 had used a checksum.

"had used"? Base64 is still in very common use, specifically embedded within JSON and in "data URLs" on the Web.

"had" in the sense of when it was designed and introduced as a standard

Re: Recreating Epstein PDFs from raw encoded attachments

#30
post #20
post #7

> it’s safe to say that Pam Bondi’s DoJ did not put its best and brightest on this Or worse. She did.

I mean, the internet is finding all her mistakes for her. She is actually doing alright with this. Crowdsource everything, fix the mistakes. lol.

This would be funnier if it wasn’t child porn being unredacted by our government
Post reply on HN