What are the steps to package Lsassy into a standalone exe using PyInstaller, and what common errors occur?
To package Lsassy's console interface into a standalone exe, use PyInstaller with the main script from `lsassy/console.py`. A basic command like `pyinstaller -F console.py` will fail due to missing hidden imports. You must add `--hidden-import` for all required modules: `unicrypto` backends (e.g., `unicrypto.backends.pure.DES`, `unicrypto.backends.pure.AES`) and all `lsassy` submodules for dump methods (`lsassy.dumpmethod.*`) and exec methods (`lsassy.exec.*`) and outputs (`lsassy.output.*`). The article provides a complete command. Even after packaging, the export function may fail; debugging with `-vv` reveals missing `lsassy.dumpmethod.comsvcs`, requiring the inclusion of all dependency packages.
lsassy packagingPyInstallerhidden importsstandalone exedebugging