Skip to content
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

How to create a single one-file budled executable for Certipy ? #212

Open
w0lfcat opened this issue May 9, 2024 · 2 comments
Open

How to create a single one-file budled executable for Certipy ? #212

w0lfcat opened this issue May 9, 2024 · 2 comments

Comments

@w0lfcat
Copy link

w0lfcat commented May 9, 2024

First of all, thanks ly4k for your research. Certipy works fine in Python environment.

However, where Python is not available, I always convert .py to .exe.

This is what I normally do to convert .py to .exe.
pyinstaller --onefile myscript.py

However, instead of Certipy.py, there is a setup.py file in this repo.

What is the right way to convert Certipy to a single one-file budled executable?

@cmjlove1
Copy link

certipy.exe has already been pre-packaged here.
https://github.com/Syslifters/offsec-tools/blob/main/bin/Certipy.exe

@newcodor
Copy link

newcodor commented Aug 2, 2024

To convert Certipy to a single one-file,please use:
pyinstaller .\Certipy.spec
or
pyinstaller -F certipy\entry.py -n Certipy.exe --hidden-import unicrypto.backends.pycryptodomex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants