Skip to main content

A simple, easy-to-use Python file protector.

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pythondefender-1.0.4.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

pythondefender-1.0.4-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file pythondefender-1.0.4.tar.gz.

File metadata

  • Download URL: pythondefender-1.0.4.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pythondefender-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b1ca0f6ccde90793f6b2c91c8510db0e923533dda312fa143cc15b6565012721
MD5 7dc2973d164dc72f5313c69cd2797e15
BLAKE2b-256 be597ca883c974f3a6904c3518a964f6d9f44cd952f674c760eb8bd573cbd124

See more details on using hashes here.

File details

Details for the file pythondefender-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pythondefender-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9c02ba471bbcd87ee11c7264873084aae6bd45d07b41ebffafd83df99c5985ce
MD5 99aa80ea30248c15e91b4606e7d2fe57
BLAKE2b-256 658cf2246af0ce8b7f51ef917a163b466a1dce5026d4a140909eeae35747a743

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page