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 PythonProtector
You may also install the development version:
pip install git+https://github.com/xFGhoul/PythonProtector.git
Quick 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 Code
You 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#1337
andMarci#0101