-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with PyInstaller #3
Comments
Quickly debugging this makes it look like pyinstaller has a bootloader that resolves the calling binary (that it tries to extract the The
We may be able to solve this by using a I'll see if I have some time in the next few weeks to attempt to patch this but it's already clear to me that any binary produced by |
There are two other ways this can work. Both however require access to a writable filesystem though. The first option is to extract the embedded archive from the PyInstaller binary, write this all to temporary storage, and then name the binary to be executed such that we can also create the The second option is less reliable in very restricted scenario's but a whole lot easier. PyInstaller uses Both options will leave at minimum a bunch of symlinks behind and the first option probably also a binary that we copied to a different location to make it all work. So we would need to I got a proof of concept working for the
|
The workaround as mentioned above with the |
@vdun Can you test if in your use cases of I'm not a fan of implementing either one of the other options as the first one can only be used under high privilege ( And anyone using some form of obfuscation on a PyInstaller binary can still prevent it from being run via |
The text was updated successfully, but these errors were encountered: