-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from skelsec/main
Main
- Loading branch information
Showing
24 changed files
with
3,070 additions
and
402 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,4 @@ venv.bak/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
*.exe |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@echo off | ||
set projectname=msldap | ||
set hiddenimports= --hidden-import cryptography --hidden-import cffi --hidden-import cryptography.hazmat.backends.openssl --hidden-import cryptography.hazmat.bindings._openssl --hidden-import unicrypto --hidden-import unicrypto.backends.pycryptodome.DES --hidden-import unicrypto.backends.pycryptodome.TDES --hidden-import unicrypto.backends.pycryptodome.AES --hidden-import unicrypto.backends.pycryptodome.RC4 --hidden-import unicrypto.backends.pure.DES --hidden-import unicrypto.backends.pure.TDES --hidden-import unicrypto.backends.pure.AES --hidden-import unicrypto.backends.pure.RC4 --hidden-import unicrypto.backends.cryptography.DES --hidden-import unicrypto.backends.cryptography.TDES --hidden-import unicrypto.backends.cryptography.AES --hidden-import unicrypto.backends.cryptography.RC4 --hidden-import unicrypto.backends.pycryptodomex.DES --hidden-import unicrypto.backends.pycryptodomex.TDES --hidden-import unicrypto.backends.pycryptodomex.AES --hidden-import unicrypto.backends.pycryptodomex.RC4 | ||
set root=%~dp0 | ||
set repo=%root%..\..\%projectname% | ||
IF NOT DEFINED __BUILDALL_VENV__ (GOTO :CREATEVENV) | ||
GOTO :BUILD | ||
|
||
:CREATEVENV | ||
python -m venv %root%\env | ||
CALL %root%\env\Scripts\activate.bat | ||
pip install pyinstaller | ||
GOTO :BUILD | ||
|
||
:BUILD | ||
cd %repo%\..\ | ||
pip install . | ||
cd %repo%\examples | ||
pyinstaller -F msldapclient.py %hiddenimports% | ||
cd %repo%\examples\dist & copy *.exe %root% | ||
GOTO :CLEANUP | ||
|
||
:CLEANUP | ||
IF NOT DEFINED __BUILDALL_VENV__ (deactivate) | ||
cd %root% | ||
EXIT /B |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
__version__ = "0.4.7" | ||
__version__ = "0.5.5" | ||
__banner__ = \ | ||
""" | ||
# msldap %s | ||
|
Oops, something went wrong.