SinkingYachts 1.0.2
See the version list below for details.
dotnet add package SinkingYachts --version 1.0.2
NuGet\Install-Package SinkingYachts -Version 1.0.2
<PackageReference Include="SinkingYachts" Version="1.0.2" />
<PackageVersion Include="SinkingYachts" Version="1.0.2" />
<PackageReference Include="SinkingYachts" />
paket add SinkingYachts --version 1.0.2
#r "nuget: SinkingYachts, 1.0.2"
#:package SinkingYachts@1.0.2
#addin nuget:?package=SinkingYachts&version=1.0.2
#tool nuget:?package=SinkingYachts&version=1.0.2
Sinking Yachts 🐟
![]()
A C# library for detecting Discord/Steam phishing links using the Sinking Yachts API.
Usage
Everything is located within the SinkingYachts NuGet package, the main class is called YachtsClient.
Features
- Fully async
- Access to a Discord-related phishing database of over
13 300confirmed malicious domains - Regex matching of domains and automatic phishing detection
- Different modes for storing and loading phishing domains
- Instant updates through WebSocket events
- Domain whitelisting to prevent false positives
- Customizable caching to decrease load
Available methods
- Task<Change[]>
Recent(TimeSpan time) - Task<Change[]>
Recent(int seconds) - Task<bool>
IsPhishing(string content) - Task<bool>
IsPhishingDomain(string domain) - Task<int>
DatabaseSize() - Task<string[]>
GetPhishingDomains()
Available events (requires StorageMode.LocalWS)
- EventHandler<string>
DomainAdded - EventHandler<string>
DomainDeleted
Example
Under the Example folder you can find a demo Discord bot that implements this library.
18.06. 20:09:38 [Discord] Discord.Net v3.6.0 (API v9)
18.06. 20:09:38 [Gateway] Connecting
18.06. 20:09:40 [Gateway] Connected
18.06. 20:09:40 [Bot] Bot is ready to protect your server from 13326 phishing domains
18.06. 20:09:40 [Bot] Domains added within the past day: 111
18.06. 20:09:40 [Bot] Domains deleted within the past day: 0
18.06. 20:09:40 [Gateway] Ready
Unknown domains
Found a Discord/Steam phishing domain that isn't yet present in the database? Send it into the #domain-reports channel on our Discord server or open an issue.
Links
Need help, want to discuss phishing or have a suggestion? Feel free to join our Discord server: https://discord.gg/cT6eQjWW8H
- Official website: https://sinking.yachts
- Email: sinkingyachts@gmail.com
- GitHub: https://github.com/SinkingYachts
- Blog: https://sinking.yachts/blog/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.