PhishReport 1.0.0
See the version list below for details.
dotnet add package PhishReport --version 1.0.0
NuGet\Install-Package PhishReport -Version 1.0.0
<PackageReference Include="PhishReport" Version="1.0.0" />
paket add PhishReport --version 1.0.0
#r "nuget: PhishReport, 1.0.0"
// Install PhishReport as a Cake Addin #addin nuget:?package=PhishReport&version=1.0.0 // Install PhishReport as a Cake Tool #tool nuget:?package=PhishReport&version=1.0.0
Phish.Report 🎣
An async C# library for interacting with the Phish.Report, Indicator of Kit and detection beta APIs.
Warning The Phish.Report API is still under development, so in the event that you start experiencing unexpected errors, first check if there's an update available or raise an issue in this repository.
Usage
Available on NuGet as PhishReport
, methods can be found under the class PhishReportClient
.
You can create your API key here: https://phish.report/user
https://www.nuget.org/packages/PhishReport
Features
- Made with .NET 6
- Fully async
- Full coverage of the current beta API
- Deep documentation
- No external dependencies (uses integrated HTTP and JSON)
- Create phishing takedowns, fetch existing cases or process Indicator of Kit matches.
- Custom exceptions (
PhishReportException
) for advanced catching - Automatic request retries
- Example project to demonstrate all capabilities of the library
Example
Under the Example
directory you can find a working demo project that implements this library.
Code Samples
Initializing a new API client
PhishReportClient phish = new("API KEY");
Creating a new phishing takedown
PhishingTakedown takedown1 = await phish.CreateTakedown("https://seowqpeoqwakfd425.ml/dssdfds-fsdfsdf0s-df0ds0f0dsdfsdd0f0s-df0dfgdd8658/");
Retrieving an existing phishing takedown by its ID
PhishingTakedown takedown2 = await phish.GetTakedown("case_4tmKtcajnzj");
Retrieving the latest Indicator of Kit matches
IoKMatch[] matches = await phish.GetMatches();
Available Methods
- Task<PhishingTakedown> CreateTakedown(string url)
- Task<PhishingTakedown> GetTakedown(string id)
- Task<IoKMatch[]> GetMatches(int page = 0)
Resources
Website: https://phish.report
Indicator of Kit: https://phish.report/IOK/, https://github.com/phish-report/IOK
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. |
-
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.