• hodgepodgin@lemmy.zip
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    8 hours ago

    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.

  • nomecks@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    31
    ·
    9 hours ago

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

  • Manjushri@piefed.social
    link
    fedilink
    English
    arrow-up
    77
    ·
    10 hours ago

    …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.

    • Ænima@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 hour ago

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

      • anon_8675309@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        38 minutes ago

        This. If I didn’t agree with what they’re doing (and I don’t) and I wanted to resist I would do my best to steer towards a reversible redaction method. Then just feign ignorance.

  • toothbrush@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    142
    ·
    12 hours ago

    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!

    • SkaveRat@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      85
      ·
      12 hours ago

      yeah, I’m always a bit annoyed when people laught at the incompetence.

      Let them.

      Heck, some of it might even be intentional. Don’t take away tools for leakers

  • Random_Character_A@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    4 hours ago

    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.

    • fiat_lux@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      7 hours ago

      I took a brief look at one and it seems they may have learnt their lesson from the first time around, unfortunately.

    • jj4211@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      8 hours ago

      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…

      • MonkderVierte@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        39 minutes ago

        had their email encoded as PDF

        Doesn’t compute, please explain.

        edit: The cache/offline mode as pdf, instead of plaintext mbox or eml?

      • TryingSomethingNew@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        7
        ·
        7 hours ago

        Some email programs did that, especially when there was special formatting involved. I seem to recall Thunderbird doing it in the past, as well as outlook.

    • wuffah@lemmy.world
      link
      fedilink
      English
      arrow-up
      92
      ·
      13 hours ago

      Inversely, it’s also amazing what a lack thereof cannot achieve, for instance, redacting publicized documents.

  • Schwim Dandy@piefed.zip
    link
    fedilink
    English
    arrow-up
    67
    ·
    14 hours ago

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

    TIL the origin of Courier.

    • kescusay@lemmy.world
      link
      fedilink
      English
      arrow-up
      155
      ·
      13 hours ago

      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.

      • apftwb@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        57
        ·
        12 hours ago

        I’m a software developer and I’m currently trying to recover one of these attachments.

        🫡

      • trolololol@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        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.

        • kescusay@lemmy.world
          link
          fedilink
          English
          arrow-up
          9
          ·
          6 hours ago

          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.

          • trolololol@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            5 hours ago

            Ah yes pdf is a clusterfuck where anything is valid I think, so minimal redundancy.

            Text and image formats are way more lenient and are full of redundancies.

      • apftwb@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        19
        ·
        12 hours ago

        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.

        • kescusay@lemmy.world
          link
          fedilink
          English
          arrow-up
          13
          ·
          9 hours 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.

        • floofloof@lemmy.ca
          link
          fedilink
          English
          arrow-up
          5
          ·
          10 hours ago

          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.

            • Kevlar21@piefed.social
              link
              fedilink
              English
              arrow-up
              10
              ·
              edit-2
              9 hours 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.

    • ZoteTheMighty@lemmy.zip
      link
      fedilink
      English
      arrow-up
      6
      ·
      10 hours ago

      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.

      • Ænima@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 hour ago

        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! 🤔

        • ZoteTheMighty@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 minutes ago

          Sound alike your first puzzle is to list out all the meanings of colon and figure out which one of them looks like wheels when turned sideways.

    • Ænima@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      But knowing the sick fucks in these files, possible child-related content…

  • magnetosphere@fedia.io
    link
    fedilink
    arrow-up
    18
    ·
    13 hours ago

    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.

    • apftwb@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      26
      ·
      edit-2
      12 hours ago

      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.

      • Ænima@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour 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.