diff --git a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010303_AddPhishDestroyLists.cs b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010303_AddPhishDestroyLists.cs deleted file mode 100644 index 25bc84cc8..000000000 --- a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010303_AddPhishDestroyLists.cs +++ /dev/null @@ -1,360 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional - -namespace FilterLists.Directory.Infrastructure.Migrations.Migrations -{ - /// - public partial class AddPhishDestroyLists : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.InsertData( - table: "FilterList", - columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" }, - values: new object[,] - { - { 2835, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (Domains)", null, null, null }, - { 2836, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (AdBlock)", null, null, null }, - { 2837, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (Hosts)", null, null, null }, - { 2838, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (Dnsmasq)", null, null, null }, - { 2839, null, "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy. Real-time updated list of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Community Aggregated", null, null, null }, - { 2840, null, "DNS-verified active cryptocurrency phishing domains from PhishDestroy. Real-time updated list of verified active cryptocurrency phishing domains, scam sites, wallet drainers, and fake exchanges.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - DNS-Verified Active", null, null, null } - }); - - migrationBuilder.InsertData( - table: "Maintainer", - columns: new[] { "Id", "EmailAddress", "Name", "TwitterHandle", "Url" }, - values: new object[] { 209, "github@phishdestroy.io", "PhishDestroy", null, "https://github.com/phishdestroy" }); - - migrationBuilder.InsertData( - table: "FilterListLanguage", - columns: new[] { "FilterListId", "LanguageId" }, - values: new object[,] - { - { 2835, (short)37 }, - { 2836, (short)37 }, - { 2837, (short)37 }, - { 2838, (short)37 }, - { 2839, (short)37 }, - { 2840, (short)37 } - }); - - migrationBuilder.InsertData( - table: "FilterListMaintainer", - columns: new[] { "FilterListId", "MaintainerId" }, - values: new object[,] - { - { 2835, 209 }, - { 2836, 209 }, - { 2837, 209 }, - { 2838, 209 }, - { 2839, 209 }, - { 2840, 209 } - }); - - migrationBuilder.InsertData( - table: "FilterListSyntax", - columns: new[] { "FilterListId", "SyntaxId" }, - values: new object[,] - { - { 2835, (short)2 }, - { 2836, (short)3 }, - { 2837, (short)1 }, - { 2838, (short)20 }, - { 2839, (short)2 }, - { 2840, (short)2 } - }); - - migrationBuilder.InsertData( - table: "FilterListTag", - columns: new[] { "FilterListId", "TagId" }, - values: new object[,] - { - { 2835, 1 }, - { 2835, 6 }, - { 2835, 7 }, - { 2836, 1 }, - { 2836, 6 }, - { 2836, 7 }, - { 2837, 1 }, - { 2837, 6 }, - { 2837, 7 }, - { 2838, 1 }, - { 2838, 6 }, - { 2838, 7 }, - { 2839, 1 }, - { 2839, 6 }, - { 2839, 7 }, - { 2840, 1 }, - { 2840, 6 }, - { 2840, 7 } - }); - - migrationBuilder.InsertData( - table: "FilterListViewUrl", - columns: new[] { "FilterListId", "Id", "Primariness", "Url" }, - values: new object[,] - { - { 2835, 3232, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/list.txt" }, - { 2836, 3233, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/rootlist/formats/primary/adblock.txt" }, - { 2837, 3234, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/rootlist/formats/primary/hosts.txt" }, - { 2838, 3235, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/rootlist/formats/primary/dnsmasq.conf" }, - { 2839, 3236, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/community/blocklist.json" }, - { 2840, 3237, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/dns/active_domains.json" } - }); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DeleteData( - table: "FilterListLanguage", - keyColumns: new[] { "FilterListId", "LanguageId" }, - keyValues: new object[] { 2835, (short)37 }); - - migrationBuilder.DeleteData( - table: "FilterListLanguage", - keyColumns: new[] { "FilterListId", "LanguageId" }, - keyValues: new object[] { 2836, (short)37 }); - - migrationBuilder.DeleteData( - table: "FilterListLanguage", - keyColumns: new[] { "FilterListId", "LanguageId" }, - keyValues: new object[] { 2837, (short)37 }); - - migrationBuilder.DeleteData( - table: "FilterListLanguage", - keyColumns: new[] { "FilterListId", "LanguageId" }, - keyValues: new object[] { 2838, (short)37 }); - - migrationBuilder.DeleteData( - table: "FilterListLanguage", - keyColumns: new[] { "FilterListId", "LanguageId" }, - keyValues: new object[] { 2839, (short)37 }); - - migrationBuilder.DeleteData( - table: "FilterListLanguage", - keyColumns: new[] { "FilterListId", "LanguageId" }, - keyValues: new object[] { 2840, (short)37 }); - - migrationBuilder.DeleteData( - table: "FilterListMaintainer", - keyColumns: new[] { "FilterListId", "MaintainerId" }, - keyValues: new object[] { 2835, 209 }); - - migrationBuilder.DeleteData( - table: "FilterListMaintainer", - keyColumns: new[] { "FilterListId", "MaintainerId" }, - keyValues: new object[] { 2836, 209 }); - - migrationBuilder.DeleteData( - table: "FilterListMaintainer", - keyColumns: new[] { "FilterListId", "MaintainerId" }, - keyValues: new object[] { 2837, 209 }); - - migrationBuilder.DeleteData( - table: "FilterListMaintainer", - keyColumns: new[] { "FilterListId", "MaintainerId" }, - keyValues: new object[] { 2838, 209 }); - - migrationBuilder.DeleteData( - table: "FilterListMaintainer", - keyColumns: new[] { "FilterListId", "MaintainerId" }, - keyValues: new object[] { 2839, 209 }); - - migrationBuilder.DeleteData( - table: "FilterListMaintainer", - keyColumns: new[] { "FilterListId", "MaintainerId" }, - keyValues: new object[] { 2840, 209 }); - - migrationBuilder.DeleteData( - table: "FilterListSyntax", - keyColumns: new[] { "FilterListId", "SyntaxId" }, - keyValues: new object[] { 2835, (short)2 }); - - migrationBuilder.DeleteData( - table: "FilterListSyntax", - keyColumns: new[] { "FilterListId", "SyntaxId" }, - keyValues: new object[] { 2836, (short)3 }); - - migrationBuilder.DeleteData( - table: "FilterListSyntax", - keyColumns: new[] { "FilterListId", "SyntaxId" }, - keyValues: new object[] { 2837, (short)1 }); - - migrationBuilder.DeleteData( - table: "FilterListSyntax", - keyColumns: new[] { "FilterListId", "SyntaxId" }, - keyValues: new object[] { 2838, (short)20 }); - - migrationBuilder.DeleteData( - table: "FilterListSyntax", - keyColumns: new[] { "FilterListId", "SyntaxId" }, - keyValues: new object[] { 2839, (short)2 }); - - migrationBuilder.DeleteData( - table: "FilterListSyntax", - keyColumns: new[] { "FilterListId", "SyntaxId" }, - keyValues: new object[] { 2840, (short)2 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2835, 1 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2835, 6 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2835, 7 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2836, 1 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2836, 6 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2836, 7 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2837, 1 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2837, 6 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2837, 7 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2838, 1 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2838, 6 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2838, 7 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2839, 1 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2839, 6 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2839, 7 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2840, 1 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2840, 6 }); - - migrationBuilder.DeleteData( - table: "FilterListTag", - keyColumns: new[] { "FilterListId", "TagId" }, - keyValues: new object[] { 2840, 7 }); - - migrationBuilder.DeleteData( - table: "FilterListViewUrl", - keyColumns: new[] { "FilterListId", "Id" }, - keyValues: new object[] { 2835, 3232 }); - - migrationBuilder.DeleteData( - table: "FilterListViewUrl", - keyColumns: new[] { "FilterListId", "Id" }, - keyValues: new object[] { 2836, 3233 }); - - migrationBuilder.DeleteData( - table: "FilterListViewUrl", - keyColumns: new[] { "FilterListId", "Id" }, - keyValues: new object[] { 2837, 3234 }); - - migrationBuilder.DeleteData( - table: "FilterListViewUrl", - keyColumns: new[] { "FilterListId", "Id" }, - keyValues: new object[] { 2838, 3235 }); - - migrationBuilder.DeleteData( - table: "FilterListViewUrl", - keyColumns: new[] { "FilterListId", "Id" }, - keyValues: new object[] { 2839, 3236 }); - - migrationBuilder.DeleteData( - table: "FilterListViewUrl", - keyColumns: new[] { "FilterListId", "Id" }, - keyValues: new object[] { 2840, 3237 }); - - migrationBuilder.DeleteData( - table: "FilterList", - keyColumn: "Id", - keyValue: 2835); - - migrationBuilder.DeleteData( - table: "FilterList", - keyColumn: "Id", - keyValue: 2836); - - migrationBuilder.DeleteData( - table: "FilterList", - keyColumn: "Id", - keyValue: 2837); - - migrationBuilder.DeleteData( - table: "FilterList", - keyColumn: "Id", - keyValue: 2838); - - migrationBuilder.DeleteData( - table: "FilterList", - keyColumn: "Id", - keyValue: 2839); - - migrationBuilder.DeleteData( - table: "FilterList", - keyColumn: "Id", - keyValue: 2840); - - migrationBuilder.DeleteData( - table: "Maintainer", - keyColumn: "Id", - keyValue: 209); - } - } -} diff --git a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010303_AddPhishDestroyLists.Designer.cs b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010651_AddPhishDestroyLists.Designer.cs similarity index 99% rename from services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010303_AddPhishDestroyLists.Designer.cs rename to services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010651_AddPhishDestroyLists.Designer.cs index df7b385ea..ea8581f05 100644 --- a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010303_AddPhishDestroyLists.Designer.cs +++ b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010651_AddPhishDestroyLists.Designer.cs @@ -11,7 +11,7 @@ namespace FilterLists.Directory.Infrastructure.Migrations.Migrations { [DbContext(typeof(QueryDbContext))] - [Migration("20251230010303_AddPhishDestroyLists")] + [Migration("20251230010651_AddPhishDestroyLists")] partial class AddPhishDestroyLists { /// @@ -21163,7 +21163,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) new { Id = 2839, - Description = "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy. Real-time updated list of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing.", + Description = "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy containing scam sites, wallet drainers, fake exchanges and seed phrase phishing.", EmailAddress = "github@phishdestroy.io", HomeUrl = "https://github.com/phishdestroy/destroylist", IssuesUrl = "https://github.com/phishdestroy/destroylist/issues", @@ -21173,7 +21173,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) new { Id = 2840, - Description = "DNS-verified active cryptocurrency phishing domains from PhishDestroy. Real-time updated list of verified active cryptocurrency phishing domains, scam sites, wallet drainers, and fake exchanges.", + Description = "DNS-verified active cryptocurrency phishing domains from PhishDestroy including scam sites, wallet drainers, and fake exchanges.", EmailAddress = "github@phishdestroy.io", HomeUrl = "https://github.com/phishdestroy/destroylist", IssuesUrl = "https://github.com/phishdestroy/destroylist/issues", diff --git a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010651_AddPhishDestroyLists.cs b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010651_AddPhishDestroyLists.cs new file mode 100644 index 000000000..28d629f9f --- /dev/null +++ b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20251230010651_AddPhishDestroyLists.cs @@ -0,0 +1,46 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace FilterLists.Directory.Infrastructure.Migrations.Migrations +{ + /// + public partial class AddPhishDestroyLists : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.UpdateData( + table: "FilterList", + keyColumn: "Id", + keyValue: 2839, + column: "Description", + value: "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy containing scam sites, wallet drainers, fake exchanges and seed phrase phishing."); + + migrationBuilder.UpdateData( + table: "FilterList", + keyColumn: "Id", + keyValue: 2840, + column: "Description", + value: "DNS-verified active cryptocurrency phishing domains from PhishDestroy including scam sites, wallet drainers, and fake exchanges."); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.UpdateData( + table: "FilterList", + keyColumn: "Id", + keyValue: 2839, + column: "Description", + value: "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy. Real-time updated list of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing."); + + migrationBuilder.UpdateData( + table: "FilterList", + keyColumn: "Id", + keyValue: 2840, + column: "Description", + value: "DNS-verified active cryptocurrency phishing domains from PhishDestroy. Real-time updated list of verified active cryptocurrency phishing domains, scam sites, wallet drainers, and fake exchanges."); + } + } +} diff --git a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/QueryDbContextModelSnapshot.cs b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/QueryDbContextModelSnapshot.cs index cc7ea4f60..211b17db4 100644 --- a/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/QueryDbContextModelSnapshot.cs +++ b/services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/QueryDbContextModelSnapshot.cs @@ -21160,7 +21160,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) new { Id = 2839, - Description = "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy. Real-time updated list of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing.", + Description = "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy containing scam sites, wallet drainers, fake exchanges and seed phrase phishing.", EmailAddress = "github@phishdestroy.io", HomeUrl = "https://github.com/phishdestroy/destroylist", IssuesUrl = "https://github.com/phishdestroy/destroylist/issues", @@ -21170,7 +21170,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) new { Id = 2840, - Description = "DNS-verified active cryptocurrency phishing domains from PhishDestroy. Real-time updated list of verified active cryptocurrency phishing domains, scam sites, wallet drainers, and fake exchanges.", + Description = "DNS-verified active cryptocurrency phishing domains from PhishDestroy including scam sites, wallet drainers, and fake exchanges.", EmailAddress = "github@phishdestroy.io", HomeUrl = "https://github.com/phishdestroy/destroylist", IssuesUrl = "https://github.com/phishdestroy/destroylist/issues", diff --git a/services/Directory/data/FilterList.json b/services/Directory/data/FilterList.json index 112d454b7..41f909e64 100644 --- a/services/Directory/data/FilterList.json +++ b/services/Directory/data/FilterList.json @@ -18701,7 +18701,7 @@ "name": "PhishDestroy - Cryptocurrency Phishing Blocklist (Dnsmasq)" }, { - "description": "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy. Real-time updated list of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing.", + "description": "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy containing scam sites, wallet drainers, fake exchanges and seed phrase phishing.", "emailAddress": "github@phishdestroy.io", "homeUrl": "https://github.com/phishdestroy/destroylist", "id": 2839, @@ -18710,7 +18710,7 @@ "name": "PhishDestroy - Community Aggregated" }, { - "description": "DNS-verified active cryptocurrency phishing domains from PhishDestroy. Real-time updated list of verified active cryptocurrency phishing domains, scam sites, wallet drainers, and fake exchanges.", + "description": "DNS-verified active cryptocurrency phishing domains from PhishDestroy including scam sites, wallet drainers, and fake exchanges.", "emailAddress": "github@phishdestroy.io", "homeUrl": "https://github.com/phishdestroy/destroylist", "id": 2840,