SinkingYachts 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SinkingYachts --version 1.0.0                
NuGet\Install-Package SinkingYachts -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SinkingYachts" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SinkingYachts --version 1.0.0                
#r "nuget: SinkingYachts, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SinkingYachts as a Cake Addin
#addin nuget:?package=SinkingYachts&version=1.0.0

// Install SinkingYachts as a Cake Tool
#tool nuget:?package=SinkingYachts&version=1.0.0                

Sinking Yachts 🐟

<div align="center"> <img width="256" height="256" src="https://cdn.discordapp.com/icons/908947284853682266/a928bf7a58ed5fccbdbadefd0aee34ff.png?size=256"> </div>

<div align="center"> A C# library for detecting Discord/Steam phishing links using the Sinking Yachts API. </div>

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 300 confirmed 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

Statistics from the past week

Date New domains found
0.0.0 + 0
0.0.0 + 0
0.0.0 + 0
0.0.0 + 0
0.0.0 + 0
0.0.0 + 0
0.0.0 + 0

Recently flagged domains

guide-events.com
steamcanmmunity.ru
hypesquad-eventssignup.com
discocd.icu
new-register-hypesquad.com
steamcommunitypie.top
steamcommunitypin.top
steamcommunitypid.top
steamcommunitypir.top

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.

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<br> Email: sinkingyachts@gmail.com<br> GitHub: https://github.com/SinkingYachts<br> Blog: https://sinking.yachts/blog/<br>

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
1.1.4 469 9/8/2022
1.0.4 426 6/21/2022
1.0.3 440 6/20/2022
1.0.2 437 6/20/2022
1.0.1 420 6/20/2022
1.0.0 405 6/20/2022