Skip to main content

PyDefender

Made with program protection in mind.

PyDefender

Acknowledgements

Story

I found Python Protector a couple months ago and have been using it! But recently, I have been encountering issues; the github hasn't been updated since June 7th (as of September 6th), so I decided to use their base, fix the issues, and hopefully update it more in the future!

Features

  • Configurable module system (Enable / Disable Modules)
  • Configurable detection system (What it does when something is detected)
  • Encrypted logging system with remote uploading
  • Discord webhook support
  • Clean code
  • Constantly updated

Installation

Python 3.11 or higher is required

Install via PyPi:

py -3 -m pip install -U pythondefender

Usage

from pathlib import Path
from threading import Thread

from pydefender import PyDefender

Defender = PyDefender(
    debug=True,
    modules=[
        "AntiProcess",
        "AntiVM",
        "Miscellaneous",
        "AntiDLL",
        "AntiAnalysis",
        "AntiDump"],
    logs_path=Path.home() / "AppData/Roaming/PyDefender/logs/[Security].log",
    webhook_url="%INSERT_WEBHOOK_URL&",
    on_detect=[
        "Report",
        "Exit",
        "Screenshot"],
)

if __name__ == "__main__":
    DefenderThread = Thread(
        name = "PyDefender Security", target=Defender.start
    )
    DefenderThread.start()

Metadata

Release files for pythondefender 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pythondefender 1.0.4
File Size Uploaded Provenance Actions
pythondefender-1.0.4.tar.gz 19.3 kB Without provenance Details for pythondefender-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pythondefender 1.0.4
File Interpreter ABI Platform Actions
pythondefender-1.0.4-py3-none-any.whl Python 3 none any Details for pythondefender-1.0.4-py3-none-any.whl

Total release size: 44.9 kB

Release files / pythondefender-1.0.4.tar.gz

Download URL pythondefender-1.0.4.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b1ca0f6ccde90793f6b2c91c8510db0e923533dda312fa143cc15b6565012721
BLAKE2b-256 checksum
How to use checksums
be597ca883c974f3a6904c3518a964f6d9f44cd952f674c760eb8bd573cbd124
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / pythondefender-1.0.4-py3-none-any.whl

Download URL pythondefender-1.0.4-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c02ba471bbcd87ee11c7264873084aae6bd45d07b41ebffafd83df99c5985ce
BLAKE2b-256 checksum
How to use checksums
658cf2246af0ce8b7f51ef917a163b466a1dce5026d4a140909eeae35747a743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Security for pythondefender 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page