# PyDefender
Made with program protection in mind.
![PyDefender](https://media.discordapp.net/attachments/1092082158723666071/1149085362254266499/Untitled-1.png?ex=64fa38a3&is=64f8e723&hm=f4ace497470bfe9f59214b2f2013bbf87682e71f746759986edd93ae50fbe93e&=&width=624&height=466)
## Acknowledgements
- [Kova / api](https://ihaveyour.pw/)
- [venqoi](https://venqoi.lol) fixed readme.md grammar hehe
- [Python Protector](https://github.com/xFGhoul/PythonProtector)
## Story
I found [Python Protector](https://github.com/xFGhoul/PythonProtector) 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](https://pypi.org/):
```
py -3 -m pip install -U pythondefender
```
## Usage
```py
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()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/faintastic/PyDefender",
"name": "pythondefender",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "protect, protection, defend, defender, obfuscate, obfuscation, pydefend, pydefender",
"author": "Faint / Kova",
"author_email": "faintastic@pm.me",
"download_url": "https://files.pythonhosted.org/packages/be/59/7ca883c974f3a6904c3518a964f6d9f44cd952f674c760eb8bd573cbd124/pythondefender-1.0.4.tar.gz",
"platform": null,
"description": "\n# PyDefender\nMade with program protection in mind.\n\n![PyDefender](https://media.discordapp.net/attachments/1092082158723666071/1149085362254266499/Untitled-1.png?ex=64fa38a3&is=64f8e723&hm=f4ace497470bfe9f59214b2f2013bbf87682e71f746759986edd93ae50fbe93e&=&width=624&height=466)\n\n## Acknowledgements\n\n - [Kova / api](https://ihaveyour.pw/)\n - [venqoi](https://venqoi.lol) fixed readme.md grammar hehe\n - [Python Protector](https://github.com/xFGhoul/PythonProtector)\n\n## Story\nI found [Python Protector](https://github.com/xFGhoul/PythonProtector) 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!\n\n## Features\n\n- Configurable module system (Enable / Disable Modules)\n- Configurable detection system (What it does when something is detected)\n- Encrypted logging system with remote uploading\n- Discord webhook support\n- Clean code\n- Constantly updated\n\n## Installation\n\n**Python 3.11 or higher is required**\n\nInstall via [PyPi](https://pypi.org/):\n```\npy -3 -m pip install -U pythondefender\n```\n\n## Usage\n\n```py\nfrom pathlib import Path\nfrom threading import Thread\n\nfrom pydefender import PyDefender\n\nDefender = PyDefender(\n debug=True,\n modules=[\n \"AntiProcess\",\n \"AntiVM\",\n \"Miscellaneous\",\n \"AntiDLL\",\n \"AntiAnalysis\",\n \"AntiDump\"],\n logs_path=Path.home() / \"AppData/Roaming/PyDefender/logs/[Security].log\",\n webhook_url=\"%INSERT_WEBHOOK_URL&\",\n on_detect=[\n \"Report\",\n \"Exit\",\n \"Screenshot\"],\n)\n\nif __name__ == \"__main__\":\n DefenderThread = Thread(\n name = \"PyDefender Security\", target=Defender.start\n )\n DefenderThread.start()\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple, easy-to-use Python file protector.",
"version": "1.0.4",
"project_urls": {
"Homepage": "https://github.com/faintastic/PyDefender"
},
"split_keywords": [
"protect",
" protection",
" defend",
" defender",
" obfuscate",
" obfuscation",
" pydefend",
" pydefender"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "658cf2246af0ce8b7f51ef917a163b466a1dce5026d4a140909eeae35747a743",
"md5": "99aa80ea30248c15e91b4606e7d2fe57",
"sha256": "9c02ba471bbcd87ee11c7264873084aae6bd45d07b41ebffafd83df99c5985ce"
},
"downloads": -1,
"filename": "pythondefender-1.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "99aa80ea30248c15e91b4606e7d2fe57",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 25537,
"upload_time": "2024-10-05T04:32:15",
"upload_time_iso_8601": "2024-10-05T04:32:15.934911Z",
"url": "https://files.pythonhosted.org/packages/65/8c/f2246af0ce8b7f51ef917a163b466a1dce5026d4a140909eeae35747a743/pythondefender-1.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "be597ca883c974f3a6904c3518a964f6d9f44cd952f674c760eb8bd573cbd124",
"md5": "7dc2973d164dc72f5313c69cd2797e15",
"sha256": "b1ca0f6ccde90793f6b2c91c8510db0e923533dda312fa143cc15b6565012721"
},
"downloads": -1,
"filename": "pythondefender-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "7dc2973d164dc72f5313c69cd2797e15",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19322,
"upload_time": "2024-10-05T04:32:22",
"upload_time_iso_8601": "2024-10-05T04:32:22.227510Z",
"url": "https://files.pythonhosted.org/packages/be/59/7ca883c974f3a6904c3518a964f6d9f44cd952f674c760eb8bd573cbd124/pythondefender-1.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-05 04:32:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "faintastic",
"github_project": "PyDefender",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "command_runner",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "cryptography",
"specs": [
[
"==",
"41.0.3"
]
]
},
{
"name": "discord_webhook",
"specs": [
[
"==",
"1.1.0"
]
]
},
{
"name": "httpx",
"specs": [
[
"==",
"0.23.3"
]
]
},
{
"name": "humanize",
"specs": [
[
"==",
"4.6.0"
]
]
},
{
"name": "loguru",
"specs": [
[
"==",
"0.6.0"
]
]
},
{
"name": "psutil",
"specs": [
[
"==",
"5.9.4"
]
]
},
{
"name": "py_cpuinfo",
"specs": [
[
"==",
"9.0.0"
]
]
},
{
"name": "pywin32",
"specs": [
[
"==",
"305"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "setuptools",
"specs": [
[
"==",
"67.6.0"
]
]
},
{
"name": "WMI",
"specs": [
[
"==",
"1.5.1"
]
]
},
{
"name": "Pillow",
"specs": [
[
"==",
"10.0.0"
]
]
},
{
"name": "observable",
"specs": [
[
"==",
"1.0.3"
]
]
}
],
"lcname": "pythondefender"
}