Hacker GitHub

← All repos

trailofbits/polyfile

View on GitHub ↗ ★ 395 Python

A pure Python cleanroom implementation of libmagic, with instrumented parsing from Kaitai struct and an interactive hex viewer

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2022-11-18 · latest 2024-08-28

Mentions per year 3 mentions · busiest year 2022 (1)
20082026
  1. …- https://github.com/desgeeko/pdfsyntax (python3 -m pdfsyntax inspect foo.pdf > output.html) - https://github.com/trailofbits/polyfile (polyfile --html output.html foo.pdf) - https://www.reportmill.com/snaptea/PDFViewer/ =…
  2. Code from the paper: https://github.com/trailofbits/polytracker https://github.com/trailofbits/polyfile
  3. …instrumented version of the PDFminer parser. It sounds like it might satisfy your use case. https://github.com/trailofbits/polyfile