Skip to content

How to Change Magic Key of Pyinstaller Using BootLoader ? #5988

Answered by rokm
PremKumarMishra asked this question in Help
Discussion options

You must be logged in to vote

While you could change the MAGIC string in both bootloader and python-based CArchive writer, I doubt that would offer you any extra "protection". I mean, if someone wanted to decompile your program, they could simply check the binary for the new magic value and adjust the pyiextractor (or the underyling pyinstaller) code to handle that as well...

(And by the way, PyInstaller comes with its own pyi-archive_viewer tool that allows extraction of data from the executable-embedded archive(s)...)

Replies: 1 comment 23 replies

Comment options

You must be logged in to vote
23 replies
@PremKumarMishra
Comment options

@PremKumarMishra
Comment options

@PremKumarMishra
Comment options

@rokm
Comment options

@PremKumarMishra
Comment options

Answer selected by PremKumarMishra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants