Python3 and full library support - works for me at least#102
Open
Harakan wants to merge 103 commits into
Open
Conversation
Create subrepo peepdf which contains all src code. This in order to create a full module peepdf with setuptools in setup.py
…the new stats after resolving objects
…s not detected as JS BUT is referenced from a /JS element. Modified the PDFFile.decrypt function to update the global stats before decrypting the objects.
…which JS code/URI
…put per version, so we don't lose that information
…s_analyse, js_eval, js_unescape, etc
…nging the stream object when we call setReferencedJSObject (it was giving bad results with encryption)
…hanks to KurtPfeifle for the feedback ;)
…e from the command line (really basic implementation)
Hopefully this helps others when trying to use this thing. Thanks to the original maintainers I forked this from.
Update PDFCore.py
|
It would be nice to have this PR integrated! |
|
Seconded ^ |
|
How is this not integrated yet? |
|
@stunney look @ the last update here |
Author
|
I have no idea if this even still works, I haven't touched this project since the PR went up. It's neat for pdf inspection but I never did get the javascript parts fully working, and ended up using the firefox pdf library to do what I needed (which was re-coded around the same time) |
Owner
|
Hi there! Sorry for the huge delay, I did not have time to take care of the project, but I will try to use Claude to keep it up to date as soon as I can. I did want to add tests to be able to continue accepting PRs, so I will focus on that, and I will check pending PRs then. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Leaving this here in case others run into this problem. Here's my fork that seems to work using python3 and the new stpyV8 library