A modern, easy to use and feature-rich way to protect your Python Programs.
- Completely Configurable Module System
- Completely Configurable On Detection System
- Encrypted Logging System With Remote Uploading
- Discord Webhook Support
- Clean, Optimized Code
- Constant Updates
Python 3.11 or higher is required
Install The PyPi Version:
py -3 -m pip install -U PythonProtectorYou may also install the development version:
pip install git+https://github.com/xFGhoul/PythonProtector.gitQuick Example:
from pathlib import Path
from threading import Thread
from pyprotector import PythonProtector
# -- Define Constants
LOGGING_PATH = (
Path.home() / "AppData/Roaming/PythonProtector/logs/[Security].log"
) # -- This can be any path
# -- Construct Class
security = PythonProtector(
debug=True,
modules=[
"AntiProcess",
"AntiVM",
"Miscellaneous",
"AntiDLL",
"AntiAnalysis",
"AntiDump"],
logs_path=LOGGING_PATH,
webhook_url="",
on_detect=[
"Report",
"Exit",
"Screenshot"],
)
# -- Main Code
if __name__ == "__main__":
SecurityThread = Thread(
name="Python Protector", target=security.start
) # -- Start Before Any Other Code Is Run
SecurityThread.start()
# Other CodeYou can find more examples in the examples directory.
├──.github — GitHub configuration including CI/CD workflows
├──.vscode — VSCode Related Settings
├──data — Data Files Needed By PythonProtector
├──examples — Examples Showing How To Use PythonProtector
├──pyprotector — Source Code Of PythonProtector
├──scripts — Scripts Used In The Development Process
Made With ❤️ By
ghoul#1337andMarci#0101
