polyfile
polyfile copied to clipboard
A pure Python cleanroom implementation of libmagic, with instrumented parsing from Kaitai struct and an interactive hex viewer
Bumps [trailofbits/gh-action-pip-audit](https://github.com/trailofbits/gh-action-pip-audit) from 0.0.4 to 1.0.0. Release notes Sourced from trailofbits/gh-action-pip-audit's releases. Release 1.0.0 This is the first stable release of gh-action-pip-audit! Full Changelog: https://github.com/trailofbits/gh-action-pip-audit/compare/v0.0.6...v1.0.0 Release 0.0.6 What's Changed requirements:...
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. Release notes Sourced from actions/checkout's releases. v3.0.0 Updated to the node16 runtime by default This requires a minimum Actions Runner version of v2.285.0 to...
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 1 to 4. Release notes Sourced from actions/setup-python's releases. v4.0.0 What's Changed Support for python-version-file input: #336 Example of usage: - uses: actions/setup-python@v4 with: python-version-file: '.python-version' #...
I am running PolyFile version 0.4.2 on Python 3.9.7 on Windows. I get unexpected exceptions of type `NotImplementedError`. Consider the following test: ```python def test_polyfile(self): from polyfile.magic import MagicMatcher data...
Signed-off-by: Philippe Ombredanne
Govdocs - [000899.pdf](https://github.com/trailofbits/polyfile/files/4882183/000899.pdf) [001940.pdf](https://github.com/trailofbits/polyfile/files/4882184/001940.pdf) ``` Parsing PDF obj 62 0Traceback (most recent call last): File "/usr/local/bin/polyfile", line 11, in load_entry_point('polyfile===0.1.6-git', 'console_scripts', 'polyfile')() File "/home/taxicat/.local/lib/python3.6/site-packages/polyfile-0.1.6_git-py3.6.egg/polyfile/__main__.py", line 99, in main for match...
`[Traceback (most recent call last):, File "/usr/local/bin/polyfile", line 11, in , load_entry_point('polyfile', 'console_scripts', 'polyfile')(), File "/Users/allison/Documents/tob/polyfile/__main__.py", line 72, in main, for match in matcher.match(file_path, progress_callback=progress_callback):, File "/Users/allison/Documents/tob/polyfile/polyfile.py", line 170, in...
When I try to parse https://github.com/corkami/pocs/blob/master/pdf/PDFSecrets/deniable%20removal%202%20with%20incremental%20update.pdf I get: `Found a subregion of type Value at byte offset 111 Parsing PDF obj 4 0Traceback (most recent call last): File "/usr/local/bin/polyfile", line...
Trying to install this fresh on a Windows box today. ```bash Traceback (most recent call last): File "C:\Users\Spencer\Apps\python\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Spencer\Apps\python\lib\runpy.py", line 87,...
For example, this one:  In fact, the only filetype identified is PNG. Not detecting the PDF is understandable, since it's out-of-spec - the header appears too far into the...