You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 11, in <module> 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 match yield from submatch_iter File "/Users/allison/Documents/tob/polyfile/pdf.py", line 288, in submatch yield from parse_pdf(file_stream, matcher=self.matcher, parent=self) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 282, in parse_pdf yield from parse_object(file_stream, object, matcher=matcher, parent=parent) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 136, in parse_object yield from _emit_dict(oPDFParseDictionary.parsed, obj, parent.offset) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 53, in _emit_dict yield from _emit_dict(value, pair, pdf_offset) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 35, in _emit_dict value_end = value[-1].offset.offset + len(value[-1].token) IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
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 11, in <module> 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 match yield from submatch_iter File "/Users/allison/Documents/tob/polyfile/pdf.py", line 288, in submatch yield from parse_pdf(file_stream, matcher=self.matcher, parent=self) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 282, in parse_pdf yield from parse_object(file_stream, object, matcher=matcher, parent=parent) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 136, in parse_object yield from _emit_dict(oPDFParseDictionary.parsed, obj, parent.offset) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 53, in _emit_dict yield from _emit_dict(value, pair, pdf_offset) File "/Users/allison/Documents/tob/polyfile/pdf.py", line 35, in _emit_dict value_end = value[-1].offset.offset + len(value[-1].token) IndexError: list index out of range
The text was updated successfully, but these errors were encountered: