# Stop Discord Phishing
![domains](https://img.shields.io/badge/dynamic/json?color=79BFAA&label=Domains&query=count&url=https%3A%2F%2Fapi.schunk.dev%2Fapi%2Fdomain%2Fcount&style=for-the-badge)
![license](https://img.shields.io/github/license/Burn-One-Studios/stop-discord-phishingPy?color=black&style=for-the-badge)
![stars](https://img.shields.io/github/stars/Burn-One-Studios/stop-discord-phishingPy?style=for-the-badge)
![version](https://img.shields.io/pypi/v/stopPhishing?color=black&style=for-the-badge)
## About this Package
[stop-discord-phishingPy](https://github.com/Burn-One-Studios/stop-discord-phishingPy) works with the [list of phishing Domains](https://github.com/nikolaischunk/discord-phishing-links) to detect [phishing](https://en.wikipedia.org/wiki/Phishing) domains in messages on [Discord](https://discord.com).
This is the unofficial repository & pypi package which provides functionality in detecting phising links.
If you like this project consider giving it a ⭐ and feel free to contribute to this project!
## Source
If you found a domain that is not detected yet, contribute it to the [discord-phishing-links](https://github.com/nikolaischunk/discord-phishing-links) repository!
## Add Package to your Project
```bash
pip install stopPhishing
```
## How to use:
```py
import stopPhishing
```
### Check if String contains a Phishing Link:
```py
TEST_MESSAGE = "this is definitivelynotascamdomain.ru that should be checked"
#Check string on confirmed Phishing Domains
async def checkMessage(TEST_MESSAGE):
isGrabber = await stopPhishing.checkMessage(TEST_MESSAGE) #True
print(isGrabber)
return isGrabber
#Check string on confirmed Phishing Domains & suspicious Domains RECOMMENDED!
async def checkMessageFull(TEST_MESSAGE):
isGrabber = await stopPhishing.checkMessage(message, true) #True
print(isGrabber)
return isGrabber
```
### List all Domains:
```py
async def listPhishingDomains():
links = await stopPhishing.listPhishingDomains() #[]
#Now you can do something with Array with all the confirmed Phishing Domains in it
print(links)
return links
async def listSuspiciousDomains():
links = await stopPhishing.listSuspiciousDomains() #[]
#Now you can do something with Array with all the suspicious Domains in it
print(links)
return links
async def listAllDomains():
links = await stopPhishing.allDomainCount() #[]
#Now you can do something with Array with all the suspicious and confirmed phishing Domains in it
print(links)
return links
```
### Get Domain Count:
```py
#Get the amount of all Phishing and Suspicious Domains
async def getDomainAmount():
amount = await stopPhishing.domainCount() #Number
print(amount)
return amount
#Get the amount of all Phishing Domains
async def getPhishingDomainAmount():
amount = await stopPhishing.phishingDomainCount() #Number
print(amount)
return amount
#Get the amount of all Suspicious Domains
async def getSuspiciousDomainAmount():
amount = await stopPhishing.suspiciousDomainCount() #Number
print(amount)
return amount
```
## Cache
To prevent an excess of requests and load, we added a Cache of `30 minutes`!
## List of Phishing Domains
Find the complete List of Phishing Domains here: [discord-phishing-links](https://github.com/nikolaischunk/discord-phishing-links)
## Attributions
nikolaischunk - "stop-discord-phishing" project owner and npm package maintainer
mahtoid - code review
## Changelog
#### 0.0.2
- Added example.py to show how to use the package
- Readme edits
#### 0.0.1
- Initial (and Test) Upload
Raw data
{
"_id": null,
"home_page": "",
"name": "stopPhishing",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Phishing Detection,Anti Phishing,discord,discordpy,disnake,pycord,nextcord",
"author": "",
"author_email": "kings <info@kings.com>",
"download_url": "https://files.pythonhosted.org/packages/4a/f8/6cf0c81e188a554a07981ea7ec5a771046f6e5a66df91c0aeee32a075704/stopPhishing-0.0.2.tar.gz",
"platform": null,
"description": "# Stop Discord Phishing\r\n\r\n![domains](https://img.shields.io/badge/dynamic/json?color=79BFAA&label=Domains&query=count&url=https%3A%2F%2Fapi.schunk.dev%2Fapi%2Fdomain%2Fcount&style=for-the-badge)\r\n![license](https://img.shields.io/github/license/Burn-One-Studios/stop-discord-phishingPy?color=black&style=for-the-badge)\r\n![stars](https://img.shields.io/github/stars/Burn-One-Studios/stop-discord-phishingPy?style=for-the-badge)\r\n![version](https://img.shields.io/pypi/v/stopPhishing?color=black&style=for-the-badge)\r\n\r\n\r\n## About this Package\r\n\r\n[stop-discord-phishingPy](https://github.com/Burn-One-Studios/stop-discord-phishingPy) works with the [list of phishing Domains](https://github.com/nikolaischunk/discord-phishing-links) to detect [phishing](https://en.wikipedia.org/wiki/Phishing) domains in messages on [Discord](https://discord.com).\r\n\r\nThis is the unofficial repository & pypi package which provides functionality in detecting phising links.\r\n\r\nIf you like this project consider giving it a \u2b50 and feel free to contribute to this project!\r\n\r\n## Source\r\n\r\nIf you found a domain that is not detected yet, contribute it to the [discord-phishing-links](https://github.com/nikolaischunk/discord-phishing-links) repository!\r\n\r\n## Add Package to your Project\r\n\r\n```bash\r\npip install stopPhishing\r\n```\r\n\r\n## How to use:\r\n\r\n```py\r\nimport stopPhishing\r\n```\r\n\r\n### Check if String contains a Phishing Link:\r\n\r\n```py\r\nTEST_MESSAGE = \"this is definitivelynotascamdomain.ru that should be checked\"\r\n\r\n#Check string on confirmed Phishing Domains\r\nasync def checkMessage(TEST_MESSAGE):\r\n isGrabber = await stopPhishing.checkMessage(TEST_MESSAGE) #True\r\n print(isGrabber)\r\n return isGrabber\r\n\r\n#Check string on confirmed Phishing Domains & suspicious Domains RECOMMENDED!\r\nasync def checkMessageFull(TEST_MESSAGE):\r\n isGrabber = await stopPhishing.checkMessage(message, true) #True\r\n print(isGrabber)\r\n return isGrabber\r\n\r\n```\r\n\r\n### List all Domains:\r\n\r\n```py\r\nasync def listPhishingDomains():\r\n links = await stopPhishing.listPhishingDomains() #[]\r\n #Now you can do something with Array with all the confirmed Phishing Domains in it\r\n print(links)\r\n return links\r\n\r\nasync def listSuspiciousDomains():\r\n links = await stopPhishing.listSuspiciousDomains() #[]\r\n #Now you can do something with Array with all the suspicious Domains in it\r\n print(links)\r\n return links\r\n\r\nasync def listAllDomains():\r\n links = await stopPhishing.allDomainCount() #[]\r\n #Now you can do something with Array with all the suspicious and confirmed phishing Domains in it\r\n print(links)\r\n return links\r\n\r\n```\r\n\r\n### Get Domain Count:\r\n\r\n```py\r\n#Get the amount of all Phishing and Suspicious Domains\r\nasync def getDomainAmount():\r\n amount = await stopPhishing.domainCount() #Number\r\n print(amount)\r\n return amount\r\n\r\n#Get the amount of all Phishing Domains\r\nasync def getPhishingDomainAmount():\r\n amount = await stopPhishing.phishingDomainCount() #Number\r\n print(amount)\r\n return amount\r\n\r\n#Get the amount of all Suspicious Domains\r\nasync def getSuspiciousDomainAmount():\r\n amount = await stopPhishing.suspiciousDomainCount() #Number\r\n print(amount)\r\n return amount\r\n\r\n```\r\n\r\n## Cache\r\n\r\nTo prevent an excess of requests and load, we added a Cache of `30 minutes`!\r\n\r\n## List of Phishing Domains\r\n\r\nFind the complete List of Phishing Domains here: [discord-phishing-links](https://github.com/nikolaischunk/discord-phishing-links)\r\n\r\n## Attributions\r\nnikolaischunk - \"stop-discord-phishing\" project owner and npm package maintainer\r\n\r\nmahtoid - code review\r\n\r\n## Changelog\r\n\r\n#### 0.0.2\r\n- Added example.py to show how to use the package\r\n- Readme edits\r\n\r\n#### 0.0.1\r\n\r\n- Initial (and Test) Upload\r\n",
"bugtrack_url": null,
"license": "GPL-3.0-only",
"summary": "A simple python library to check if a url is a phishing link or not.",
"version": "0.0.2",
"split_keywords": [
"phishing detection",
"anti phishing",
"discord",
"discordpy",
"disnake",
"pycord",
"nextcord"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fdbfacd1989c55fbe715d76736e337187074d9eba418e880273a008e25df5a48",
"md5": "d61a5257c1ff88795e0ef71dcb07f215",
"sha256": "6b5a5be5e40a72ed8b25c7908e1014e9acf5f42b24936b2ddcfd6cbdd0baf666"
},
"downloads": -1,
"filename": "stopPhishing-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d61a5257c1ff88795e0ef71dcb07f215",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 17007,
"upload_time": "2023-02-06T17:03:14",
"upload_time_iso_8601": "2023-02-06T17:03:14.397021Z",
"url": "https://files.pythonhosted.org/packages/fd/bf/acd1989c55fbe715d76736e337187074d9eba418e880273a008e25df5a48/stopPhishing-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4af86cf0c81e188a554a07981ea7ec5a771046f6e5a66df91c0aeee32a075704",
"md5": "91cc8a04e225fc0b856efbb9cf0eb95e",
"sha256": "a94ee15f23bee26575ad34c19c610c029d38cd0c6f7b954156e8e109a8930a3e"
},
"downloads": -1,
"filename": "stopPhishing-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "91cc8a04e225fc0b856efbb9cf0eb95e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 16628,
"upload_time": "2023-02-06T17:03:16",
"upload_time_iso_8601": "2023-02-06T17:03:16.121021Z",
"url": "https://files.pythonhosted.org/packages/4a/f8/6cf0c81e188a554a07981ea7ec5a771046f6e5a66df91c0aeee32a075704/stopPhishing-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-06 17:03:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "stopphishing"
}