Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pythondefender

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pythondefender

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

  • 1.0.4
  • PyPI
  • Socket score

Maintainers
1

PyDefender

Made with program protection in mind.

PyDefender

Acknowledgements

  • Kova / api
  • venqoi fixed readme.md grammar hehe
  • Python Protector

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc