pdf-parser: All Streams

    Published: 2025-08-31. Last Updated: 2025-08-31 18:00:09 UTC
    by Didier Stevens (Version: 1)
    0 comment(s)

    A user reported a bug in pdf-parser: when dumping all filtered streams, an error would occur:

    The reason for the error, is that not all streams have filters applied to them, and thus dumping a filtered stream that has no filter caused a bug.

    I have fixed this:

    But I would like to point out that I think that a better way to look at the content of all the filtered streams, is to have pdf-parser produce JSON output and then display this with myjson-filter.py, like this:

    Now you see the content of the streams, and to which object they belong. And if there are no filters, you also see this: 'No filters'.

    Finally, the PDF comments that you saw in screenshot 2, are also gone: you only get streams.

     

    Didier Stevens
    Senior handler
    blog.DidierStevens.com

    Keywords:
    0 comment(s)

    Wireshark 4.4.9 Released

    Published: 2025-08-31. Last Updated: 2025-08-31 17:51:49 UTC
    by Didier Stevens (Version: 1)
    0 comment(s)

    Wireshark release 4.4.9 fixes 5 bugs.

    Didier Stevens
    Senior handler
    blog.DidierStevens.com

     

    Keywords:
    0 comment(s)

      Comments


      Diary Archives