This is for the more technically inclined among us. I believe, like the author, the DOJ incompetence has created the biggest opportunity for community discovery and accountability.

It’s okay if you don’t understand the terms in this post, please upvote and crosspost for visibility. Thank you.

So here’s the challenge for anyone I can successfully nerdsnipe:

  • Can you manage to recreate the original PDF from the Content-Transfer-Encoding: base64 output included in the dump? It can’t be that hard, can it?
  • Can you find other attachments included in the latest Epstein dumps that might also be possible to reconstruct? Unfortunately, the contractor that developed the full-text searchfor the Department of Justice did a pretty crappy job and full-text search is practically broken even accounting for the bad OCR and wrangled quoted-printable decoding (malicious compliance??); nevertheless, searching for Content-Transfer-Encoding and base64returns a number of results – it’s just that, unfortunately, most are uselessly truncated or only the SMTP headers from Apple Mail curiously extracted.

no comments (yet)

sorted by: hot top controversial new old
there doesn't seem to be anything here
57 comments in c/technology@lemmy.world view that post
[–] 237 points 9 months ago (1 child)

This is really great, dont tell this to anyone!

They are still releasing more parts of the Epstein files!

Take the advice of Napoleon: Never interrupt the enemy while they are making a mistake!

  • source
  • hideshow 1 child comment
  • [–] 167 points 9 months ago (1 child)

    Amazing what a bit of knowledge, intelligence and competency can achieve.

  • source
  • hideshow 1 child comment
  • [–] 145 points 9 months ago (5 children)

    ...it’s safe to say that Pam Bondi’s DoJ did not put its best and brightest on this (admittedly gargantuan) undertaking

    Actually they did. It's just that their best and brightest are fairly dim.

  • source
  • hideshow 5 child comments
  • [–] 41 points 9 months ago (2 children)

    It could also have been incompetence as a form of resistance, for all we know, or a combination of both.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 74 points 9 months ago (16 children)

    I am not intelligent enough to understand any of it but that was a fun read.

    TIL the origin of Courier.

  • source
  • hideshow 16 child comments
  • [–] 183 points 9 months ago (12 children)

    Long story short:

    • Some of the emails in the file dump had attachments.
    • The way attachments work in emails is that they're converted to encoded text.
    • That encoded text was included - badly - in the file dump.
    • So it's theoretically possible to convert them back to the original files, but it will take work to get the text back. Every character has to be exactly correct.

    Source: I'm a software developer and I'm currently trying to recover one of these attachments.

  • source
  • parent
  • hideshow 12 child comments
  • [–] [S] 24 points 9 months ago* (6 children)

    Are you having as much trouble with OCR as the article author? I would have thought OCR was a solved problem in 2026 even with poor font selection.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 19 points 9 months ago

    I'm not having trouble with it as such, it's just a slow and painstaking process. The source is crappy enough that an enormous number of characters need to be checked manually, and it's ridiculously time-consuming.

  • source
  • parent
  • [–] 10 points 9 months ago (2 children)

    I wonder if they gave considered crowdsourcing this, having many people type in small chunks of the data by hand, doing their own character recognition? Get enough people in and enough overlap and the process would have some built-in error correction.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 14 points 9 months ago* (1 child)

    I mean the problem is that even with human eyes it's still really hard to tell l and 1 in that font.

    See image

  • source
  • parent
  • hideshow 1 child comment
  • [–] 12 points 9 months ago* (last edited 9 months ago)

    Not an expert at all but I’m genuinely curious how long it would take to check all possibilities for each I or 1? Is that the full length of the hash or whatever? So in this example image we have 2^8 =256 different possibilities to check? Seems like that would be easy enough for a computer.

    Edit: actually read the article. It’s much more complicated than this. This isn’t really the only issue and the base64 in the example was 76 pages long.

  • source
  • parent
  • [–] 5 points 9 months ago (1 child)

    OCR is mostly good enough. Problem here is we have 76 pages that we need to be read perfectly, with a low fidelity input

    We also have very little in the way of error correction, since it's mostly not human readable

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 9 months ago

    We also have very little in the way of error correction, since it’s mostly not human readable

    This is the main point.
    Most well working OCR systems have a dictionary-check pass, which goes a long way into fixing the errors.

    On the other hand, if all those files are the same font and size, it should be possible to tune the OCR to better match the requirements. Also reduce the possibilities to the character set used by the encoding.


    I was recently using OCR for an unrelated project and it was totally unusable as is, because unlike what it expected (plain text documents), it got text on top of pictures. So now I have to find ways to preprocess and single out the text, removing the graphic lines that might be behind it, to make it readable.

  • source
  • parent
  • [–] 3 points 9 months ago (2 children)

    Curious here, this is base 64? And what's behind it is more often than not an image or text? And you need to do ocr to get the characters?

    Maybe for the text it could use a dictionary to rubber stamp whether that zero is actually a letter oh, etc etc?

    I'm curious to know what the challenge is and what your approach is.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 16 points 9 months ago (1 child)

    Yes, it's base64. And what's behind it could be anything that can be attached to an email.

    In this case, it's a PDF. If the base64 text can be extracted accurately, then the PDF that was attached to the email can be recreated.

    The challenge is basically twofold:

    1. There's a lot of text, and it needs to be extracted perfectly. Even one character being wrong corrupts it and makes it impossible to decode.
    2. As the article points out, there are lots of visual problems with the encoded text, including the shitty font it's displayed with, which makes automating the extraction damn near impossible. OCR is very good these days, but this is kind of a perfect example of text that it has trouble with.

    As for my approach, I'm basically just slowly and painstakingly running several OCR tools on small bits at a time, merging the resulting outputs, and doing my best to correct mistakes manually.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 7 points 9 months ago (2 children)

    There's an iOS game about the history of fonts you might enjoy. Struggling to find it at the moment, but you play a colon navigating through time, solving various puzzles.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 9 months ago (1 child)

    I'm failing to understand why or how a part of the large intestine would time travel, nor why it would be bothered to solve puzzles! 🤔

  • source
  • parent
  • hideshow 1 child comment
  • [–] 32 points 9 months ago* (1 child)

    Interesting in few weeks we might end up with some additional unredacted documents

  • source
  • hideshow 1 child comment
  • [–] 48 points 9 months ago

    We just need those 76 page base64 printouts stuffed into captcha so we can crowdsource cracking them

  • source
  • [–] 23 points 9 months ago (4 children)

    Fun fact: this guy uses fish shell.

  • source
  • hideshow 4 child comments
  • [–] 7 points 9 months ago (2 children)

    Source? I've seen the bash reference manual in the files

  • source
  • parent
  • hideshow 2 child comments
  • [–] 19 points 9 months ago* (last edited 9 months ago) (5 children)

    I need an ELI5 version of this. (Note: this comment is a critique of me, not the author or the content of the article.)

    Edit: if “nerdsnipe” isn’t in the dictionary, it totally should be.

  • source
  • hideshow 5 child comments
  • [–] [S] 29 points 9 months ago* (last edited 9 months ago) (2 children)

    Some of the Epstein emails were released as scanned PDFs of raw email format (See MIME)

    MIME formatted emails are ASCII based. To include an attachments, which can be binary, the MIME format specifies it must be encoded using base64. Base64 can always take binary input and return an ASCII output. This is trivial to reverse if you have the ASCII output.

    However, the font choice is inconvenient because l and 1 look the same.

    I'm a bit confused by the article is only discussing extracting PDFs while in actuality you can reverse any attachment including images.

    I am also no expert, so a smarter person will now correct me on anything I got wrong.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 9 months ago

    I'm a bit confused by the article is only discussing extracting PDFs while in actuality you can reverse any attachment including images.

    I could see them not mentioning other types of attachments due to the subject matter underpinning the reasons for these documents in the first place. Most pervs wouldn't be bothered to put effort into boring PDFs, but might put in more effort for CSAM images.

    Not mentioning that this could be done for all attachment types was probably intentional.

  • source
  • parent
  • [–] 38 points 9 months ago

    Literally stop publicizing this stuff until they've shown their entire hands

  • source
  • [–] 32 points 9 months ago* (last edited 9 months ago) (6 children)

    I tried to leave a comment, but it doesn't seem to be showing up there.

    I'll just leave it here:

    too tired to look into this, one suggestion though - since the hangup seems to be comparing an L and a 1, maybe you need to get into per-pixel measurements. This might be necessary if the effectiveness of ML or OCR models isn't at least 99.5% for a document containing thousands of ambiguous L's. Any inaccuracies from an ML or OCR model will leave you guessing 2^N candidates which becomes infeasible quickly. Maybe reverse engineering the font rendering by creating an exact replica of the source image? I trust some talented hacker will nail this in no time.

    i also support the idea to check for pdf errors using a stream decoder.

  • source
  • hideshow 6 child comments
  • [–] 11 points 9 months ago (5 children)
  • [–] 1 point 9 months ago (2 children)

    Since there’s 78 pages, I’m guessing at least 1 ambiguity per page? Anyways, it’s dreadfully big.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 9 months ago (1 child)

    2^78 is large but computers can do an awful lot per second, so if only about some the pages contain attachments 2^40-55 is something you could bruteforce in weeks if you can do millions of attempts a second

  • source
  • parent
  • hideshow 1 child comment
  • [–] 14 points 9 months ago* (last edited 9 months ago) (7 children)

    Has anyone checked if it's just black text on a black background. That would be in line with the competence level of Donnie's administration.

  • source
  • hideshow 7 child comments
  • [–] 11 points 9 months ago (5 children)

    Some of the reactions are some in an effective way, and I assume this example is one of them. The problem being evidently they didn't think any what might be in big base64 blobs in the PDF, and I guess some of these folks somehow had their email encoded as PDF, which seems bonkers....

  • source
  • parent
  • hideshow 5 child comments
  • [–] 4 points 9 months ago* (last edited 9 months ago) (3 children)

    had their email encoded as PDF

    Doesn't compute, please explain.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 9 months ago (2 children)

    I guess the same way email can have html as an attachment for the same thing a plaintext does, evidently some of these mails suggested a mailer actually pdf encoded the email and attached, as well as the plain text.

    So when someone replied with plaintext the base64 encoded PDF that they were replying to got 'quoted', meaning the unredacted email they were replying to is in there, just messy due to font confusion in the provided format.

  • source
  • parent
  • hideshow 2 child comments