Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3034e66126 | ||
|
|
701ffff27e | ||
|
|
ec9cca59da | ||
|
|
90d1d6b429 | ||
|
|
3d8f903d30 | ||
|
|
eedca27a11 |
@@ -55,26 +55,29 @@ public class ContentFilter
|
|||||||
{
|
{
|
||||||
if (_stop) break;
|
if (_stop) break;
|
||||||
|
|
||||||
Unfiltered? unfiltered = _dbHandler.ReadUnfilteredWithId(i);
|
Unfiltered unfiltered = _dbHandler.ReadUnfilteredWithId(i);
|
||||||
|
|
||||||
if (unfiltered is null || unfiltered.Filtered == 1) continue;
|
if (unfiltered.Filtered) continue;
|
||||||
|
|
||||||
unfiltered.Filtered = 1;
|
Ip ip = unfiltered.Ip;
|
||||||
|
|
||||||
|
unfiltered.Filtered = true;
|
||||||
|
|
||||||
QueueItem superUnfilteredObject = new()
|
QueueItem superUnfilteredObject = new()
|
||||||
{
|
{
|
||||||
Unfiltered = unfiltered,
|
Unfiltered = unfiltered,
|
||||||
Operations = Operations.Update
|
Operations = Operations.Update,
|
||||||
|
DbType = DbType.Unfiltered
|
||||||
};
|
};
|
||||||
|
|
||||||
_queue.Enqueue(superUnfilteredObject);
|
_queue.Enqueue(superUnfilteredObject);
|
||||||
|
|
||||||
if (_dbHandler.GetFilteredIp(unfiltered.Ip))
|
if (_dbHandler.FilteredIpExists(unfiltered.Ip))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Filtered filtered = GetSiteData(unfiltered.Ip);
|
Filtered filtered = GetSiteData(ip);
|
||||||
|
|
||||||
filtered.Port1 = unfiltered.Port1;
|
filtered.Port1 = unfiltered.Port1;
|
||||||
filtered.Port2 = unfiltered.Port2;
|
filtered.Port2 = unfiltered.Port2;
|
||||||
@@ -82,7 +85,8 @@ public class ContentFilter
|
|||||||
QueueItem superFilteredObject = new()
|
QueueItem superFilteredObject = new()
|
||||||
{
|
{
|
||||||
Filtered = filtered,
|
Filtered = filtered,
|
||||||
Operations = Operations.Insert
|
Operations = Operations.Insert,
|
||||||
|
DbType = DbType.Filtered
|
||||||
};
|
};
|
||||||
|
|
||||||
_queue.Enqueue(superFilteredObject);
|
_queue.Enqueue(superFilteredObject);
|
||||||
@@ -94,7 +98,7 @@ public class ContentFilter
|
|||||||
((EventWaitHandle) obj).Set();
|
((EventWaitHandle) obj).Set();
|
||||||
}
|
}
|
||||||
|
|
||||||
private Filtered GetSiteData(string ip)
|
private Filtered GetSiteData(Ip ip)
|
||||||
{
|
{
|
||||||
StartProcess(ip, 80);
|
StartProcess(ip, 80);
|
||||||
StartProcess(ip, 443);
|
StartProcess(ip, 443);
|
||||||
@@ -222,7 +226,7 @@ public class ContentFilter
|
|||||||
return siteData;
|
return siteData;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void StartProcess(string ip, int port)
|
private void StartProcess(Ip ip, int port)
|
||||||
{
|
{
|
||||||
string fileName = port == 80 ? _getDomainPort80 : _getDomainPort443;
|
string fileName = port == 80 ? _getDomainPort80 : _getDomainPort443;
|
||||||
|
|
||||||
@@ -230,7 +234,7 @@ public class ContentFilter
|
|||||||
proc.StartInfo = new()
|
proc.StartInfo = new()
|
||||||
{
|
{
|
||||||
FileName = "/bin/bash",
|
FileName = "/bin/bash",
|
||||||
Arguments = $"{fileName} {ip} {_basePath}/Backend/Scripts/{port}Header.txt",
|
Arguments = $"{fileName} {ip.Ip1}.{ip.Ip2}.{ip.Ip3}.{ip.Ip4} {_basePath}/Backend/Scripts/{port}Header.txt",
|
||||||
UseShellExecute = false,
|
UseShellExecute = false,
|
||||||
RedirectStandardOutput = false,
|
RedirectStandardOutput = false,
|
||||||
RedirectStandardError = false,
|
RedirectStandardError = false,
|
||||||
|
|||||||
@@ -127,16 +127,22 @@ public class IpScanner
|
|||||||
resumeObject.FourthByte = l;
|
resumeObject.FourthByte = l;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
string ip = $"{i}.{j}.{k}.{l}";
|
Ip ip = new()
|
||||||
|
{
|
||||||
|
Ip1 = i,
|
||||||
|
Ip2 = j,
|
||||||
|
Ip3 = k,
|
||||||
|
Ip4 = l
|
||||||
|
};
|
||||||
|
|
||||||
IPStatus responseCode = IPStatus.Unknown;
|
IPStatus responseCode = IPStatus.Unknown;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Sometimes, if the pinger gets a Destination Unreachable Communication administratively prohibited response, the pinger will throw an exception.
|
// Sometimes, if the pinger gets a Destination Unreachable Communication administratively prohibited response, the pinger will throw an exception.
|
||||||
// https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol?useskin=vector#Control_messages
|
// https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol?useskin=vector#Control_messages
|
||||||
_ = IPAddress.TryParse(ip, out IPAddress? address);
|
_ = IPAddress.TryParse(ip.ToString(), out IPAddress? address);
|
||||||
if (address is not null)
|
if (address is not null)
|
||||||
{
|
{
|
||||||
responseCode = ping.Send(address, _timeout, buf, null).Status;
|
responseCode = ping.Send(address, _timeout, buf, null).Status;
|
||||||
@@ -153,7 +159,7 @@ public class IpScanner
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
(int, int) ports = TcpClientHelper.CheckPort(ip, 80, 443);
|
(int, int) ports = TcpClientHelper.CheckPort(ip.ToString(), 80, 443);
|
||||||
|
|
||||||
if (ports is { Item1: 0, Item2: 0 })
|
if (ports is { Item1: 0, Item2: 0 })
|
||||||
{
|
{
|
||||||
@@ -161,7 +167,7 @@ public class IpScanner
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
_queue.Enqueue(CreateUnfilteredQueueItem(ip, (int)responseCode, ports));
|
_queue.Enqueue(CreateUnfilteredQueueItem(ip, ports));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_stop)
|
if (_stop)
|
||||||
@@ -197,35 +203,31 @@ public class IpScanner
|
|||||||
scanSettings.Handle!.Set();
|
scanSettings.Handle!.Set();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Discarded CreateDiscardedQueueItem(string ip, int responseCode)
|
private static Discarded CreateDiscardedQueueItem(Ip ip, int responseCode)
|
||||||
{
|
{
|
||||||
Discarded discarded = new()
|
return new()
|
||||||
{
|
{
|
||||||
Ip = ip,
|
Ip = ip,
|
||||||
ResponseCode = responseCode
|
ResponseCode = responseCode
|
||||||
};
|
};
|
||||||
|
|
||||||
return discarded;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static QueueItem CreateUnfilteredQueueItem(string ip, int responseCode, (int, int) ports)
|
private static QueueItem CreateUnfilteredQueueItem(Ip ip, (int, int) ports)
|
||||||
{
|
{
|
||||||
Unfiltered unfiltered = new()
|
Unfiltered unfiltered = new()
|
||||||
{
|
{
|
||||||
Ip = ip,
|
Ip = ip,
|
||||||
ResponseCode = responseCode,
|
|
||||||
Port1 = ports.Item1,
|
Port1 = ports.Item1,
|
||||||
Port2 = ports.Item2,
|
Port2 = ports.Item2,
|
||||||
Filtered = 0
|
Filtered = false
|
||||||
};
|
};
|
||||||
|
|
||||||
QueueItem superUnfilteredObject = new()
|
return new()
|
||||||
{
|
{
|
||||||
Unfiltered = unfiltered,
|
Unfiltered = unfiltered,
|
||||||
Operations = Operations.Insert
|
Operations = Operations.Insert,
|
||||||
|
DbType = DbType.Unfiltered
|
||||||
};
|
};
|
||||||
|
|
||||||
return superUnfilteredObject;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Stop()
|
public void Stop()
|
||||||
|
|||||||
@@ -28,30 +28,30 @@ public class ThreadHandler
|
|||||||
|
|
||||||
public void Start()
|
public void Start()
|
||||||
{
|
{
|
||||||
Thread scanner = new(StartScanner);
|
//Thread scanner = new(StartScanner);
|
||||||
Thread indexer = new(StartContentFilter);
|
Thread indexer = new(StartContentFilter);
|
||||||
Thread database = new(StartDbHandler);
|
Thread database = new(StartDbHandler);
|
||||||
Thread discarded = new(StartDiscardedDbHandler);
|
//Thread discarded = new(StartDiscardedDbHandler);
|
||||||
Thread communication = new(StartCommunicationHandler);
|
Thread communication = new(StartCommunicationHandler);
|
||||||
|
|
||||||
scanner.Start();
|
//scanner.Start();
|
||||||
indexer.Start();
|
indexer.Start();
|
||||||
database.Start();
|
database.Start();
|
||||||
discarded.Start();
|
//discarded.Start();
|
||||||
communication.Start();
|
communication.Start();
|
||||||
|
|
||||||
scanner.Join();
|
//scanner.Join();
|
||||||
indexer.Join();
|
indexer.Join();
|
||||||
database.Join();
|
database.Join();
|
||||||
discarded.Join();
|
//discarded.Join();
|
||||||
communication.Join();
|
communication.Join();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void StartScanner()
|
private void StartScanner()
|
||||||
{
|
{
|
||||||
Thread.Sleep(10000); // Let the database handler instantiate and warm up first.
|
Thread.Sleep(5000); // Let the database handler instantiate and warm up first.
|
||||||
|
|
||||||
WaitHandle[] wait = _ipScanner.Start(4);
|
WaitHandle[] wait = _ipScanner.Start(64);
|
||||||
|
|
||||||
WaitHandle.WaitAll(wait);
|
WaitHandle.WaitAll(wait);
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace Backend.Helper;
|
namespace Backend.Helper;
|
||||||
|
|
||||||
public static class HttpClientHelper
|
public static class HttpClientHelper
|
||||||
@@ -16,6 +18,7 @@ public static class HttpClientHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
client.DefaultRequestHeaders.Accept.Clear();
|
client.DefaultRequestHeaders.Accept.Clear();
|
||||||
|
client.Timeout = TimeSpan.FromSeconds(30);
|
||||||
|
|
||||||
HttpResponseMessage? response = null;
|
HttpResponseMessage? response = null;
|
||||||
|
|
||||||
@@ -54,8 +57,8 @@ public static class HttpClientHelper
|
|||||||
HttpResponseMessage? response = null;
|
HttpResponseMessage? response = null;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{//
|
||||||
response = await client.GetAsync("/robots.txt");
|
response = await client.SendAsync(new(HttpMethod.Head, "/robots.txt"));
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
DROP TABLE Unfiltered;
|
|
||||||
DROP TABLE Runtimes;
|
|
||||||
|
|
||||||
CREATE TABLE "Unfiltered" (
|
|
||||||
"Id" INTEGER NOT NULL,
|
|
||||||
"Ip" TEXT NOT NULL,
|
|
||||||
"ResponseCode" INTEGER NOT NULL,
|
|
||||||
"Port1" INTEGER NOT NULL,
|
|
||||||
"Port2" INTEGER NOT NULL,
|
|
||||||
"Filtered" INTEGER NOT NULL,
|
|
||||||
CONSTRAINT "PK_Unfiltered" PRIMARY KEY("Id" AUTOINCREMENT)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE "Runtimes" (
|
|
||||||
"Id" INTEGER NOT NULL CONSTRAINT "PK_Runtimes" PRIMARY KEY AUTOINCREMENT,
|
|
||||||
"StartTime" TEXT NOT NULL,
|
|
||||||
"EndTime" TEXT NOT NULL,
|
|
||||||
"ThreadNumber" INTEGER NOT NULL
|
|
||||||
);
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+79
-36
@@ -1,3 +1,4 @@
|
|||||||
|
using System.Collections;
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using Microsoft.Data.Sqlite;
|
using Microsoft.Data.Sqlite;
|
||||||
using Models.Model.Backend;
|
using Models.Model.Backend;
|
||||||
@@ -16,16 +17,16 @@ public class DbHandler
|
|||||||
private readonly string _resumeConnectionString;
|
private readonly string _resumeConnectionString;
|
||||||
private readonly List<string> _discardedConnectionStrings = [];
|
private readonly List<string> _discardedConnectionStrings = [];
|
||||||
|
|
||||||
private const string InsertStatement = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Unfiltered (Ip, ResponseCode, Port1, Port2, Filtered) VALUES (@ip, @responseCode, @port1, @port2, @filtered)";
|
private const string InsertStatement = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Unfiltered (Ip1, Ip2, Ip3, Ip4, Port1, Port2, Filtered) VALUES (@ip1, @ip2, @ip3, @ip4, @port1, @port2, @filtered)";
|
||||||
private const string InsertIntoFiltered = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Filtered (Ip, Port1, Port2, Title1, Title2, Description1, Description2, Url1, Url2, ServerType1, ServerType2, RobotsTXT1, RobotsTXT2, HttpVersion1, HttpVersion2, CertificateIssuerCountry, CertificateOrganizationName, IpV6, TlsVersion, CipherSuite, KeyExchangeAlgorithm, PublicKeyType1, PublicKeyType2, PublicKeyType3, AcceptEncoding1, AcceptEncoding2, ALPN, Connection1, Connection2) VALUES (@ip, @port1, @port2, @title1, @title2, @description1, @description2, @url1, @url2, @serverType1, @serverType2, @robotsTXT1, @robotsTXT2, @httpVersion1, @httpVersion2, @certificateIssuerCountry, @certificateOrganizationName, @ipV6, @tlsVersion, @cipherSuite, @keyExchangeAlgorithm, @publicKeyType1, @publicKeyType2, @publicKeyType3, @acceptEncoding1, @acceptEncoding2, @aLPN, @connection1, @connection2)";
|
private const string InsertIntoFiltered = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Filtered (Ip1, Ip2, Ip3, Ip4, Port1, Port2, Title1, Title2, Description1, Description2, Url1, Url2, ServerType1, ServerType2, RobotsTXT1, RobotsTXT2, HttpVersion1, HttpVersion2, CertificateIssuerCountry, CertificateOrganizationName, IpV6, TlsVersion, CipherSuite, KeyExchangeAlgorithm, PublicKeyType1, PublicKeyType2, PublicKeyType3, AcceptEncoding1, AcceptEncoding2, ALPN, Connection1, Connection2) VALUES (@ip1, @ip2, @ip3, @ip4, @port1, @port2, @title1, @title2, @description1, @description2, @url1, @url2, @serverType1, @serverType2, @robotsTXT1, @robotsTXT2, @httpVersion1, @httpVersion2, @certificateIssuerCountry, @certificateOrganizationName, @ipV6, @tlsVersion, @cipherSuite, @keyExchangeAlgorithm, @publicKeyType1, @publicKeyType2, @publicKeyType3, @acceptEncoding1, @acceptEncoding2, @aLPN, @connection1, @connection2)";
|
||||||
private const string InsertIntoDiscarded = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Discarded (Ip, ResponseCode) VALUES (@ip, @responseCode)";
|
private const string InsertIntoDiscarded = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Discarded (Ip1, Ip2, Ip3, Ip4, ResponseCode) VALUES (@ip1, @ip2, @ip3, @ip4, @responseCode)";
|
||||||
private const string InsertIntoResume = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Resume (ThreadNumber, StartRange, EndRange, FirstByte, SecondByte, ThirdByte, FourthByte) VALUES (@threadNumber, @startRange, @endRange, @firstByte, @secondByte, @thirdByte, @fourthByte);";
|
private const string InsertIntoResume = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY; PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = off; INSERT INTO Resume (ThreadNumber, StartRange, EndRange, FirstByte, SecondByte, ThirdByte, FourthByte) VALUES (@threadNumber, @startRange, @endRange, @firstByte, @secondByte, @thirdByte, @fourthByte);";
|
||||||
|
|
||||||
private const string ReadUnfilteredStatement = "SELECT * FROM Unfiltered WHERE Id = @id;";
|
private const string ReadUnfilteredStatement = "SELECT * FROM Unfiltered WHERE Id = @id;";
|
||||||
private const string ReadUnfilteredIdsStatement = "SELECT Id FROM Unfiltered WHERE Id != 0 ORDER BY Id DESC LIMIT 1;";
|
private const string ReadUnfilteredIdsStatement = "SELECT Id FROM Unfiltered WHERE Id != 0 ORDER BY Id DESC LIMIT 1;";
|
||||||
private const string ReadFilteredStatement = "SELECT Title2, Url2 FROM Filtered WHERE (Url2 NOT NULL AND Url2 != '') AND (Title2 NOT NULL AND Title2 != '') ORDER BY Url2 DESC;";
|
private const string ReadFilteredStatement = "SELECT Title2, Url2 FROM Filtered WHERE (Url2 NOT NULL AND Url2 != '') AND (Title2 NOT NULL AND Title2 != '') ORDER BY Url2 DESC;";
|
||||||
private const string ReadFilteredIdsStatement = "SELECT Id FROM Filtered WHERE Id != 0 ORDER BY Id DESC LIMIT 1;";
|
private const string ReadFilteredIdsStatement = "SELECT Id FROM Filtered WHERE Id != 0 ORDER BY Id DESC LIMIT 1;";
|
||||||
private const string ReadFilteredIpStatement = "SELECT Ip FROM Filtered WHERE Ip == @ip ORDER BY Ip DESC LIMIT 1;";
|
private const string ReadFilteredIpStatement = "SELECT Ip1, Ip2, Ip3, Ip4 FROM Filtered WHERE Ip1 == @ip1 AND Ip2 == @ip1 AND Ip3 == @ip1 AND Ip4 == @ip1 ORDER BY Ip1 DESC LIMIT 1;";
|
||||||
private const string ReadDiscardedSeqIdsStatement = "SELECT seq FROM sqlite_sequence;";
|
private const string ReadDiscardedSeqIdsStatement = "SELECT seq FROM sqlite_sequence;";
|
||||||
private const string ReadAndDeleteResumeStatement = "SELECT * FROM Resume WHERE ThreadNumber == @threadNumber; DELETE FROM RESUME WHERE ThreadNumber == @threadNumber;";
|
private const string ReadAndDeleteResumeStatement = "SELECT * FROM Resume WHERE ThreadNumber == @threadNumber; DELETE FROM RESUME WHERE ThreadNumber == @threadNumber;";
|
||||||
|
|
||||||
@@ -90,20 +91,24 @@ public class DbHandler
|
|||||||
|
|
||||||
if (queueItem is null) { continue; }
|
if (queueItem is null) { continue; }
|
||||||
|
|
||||||
switch (queueItem.Operations)
|
if (queueItem.Operations == Operations.Insert && queueItem.DbType == DbType.Unfiltered)
|
||||||
{
|
{
|
||||||
case Operations.Insert when queueItem.Unfiltered is not null:
|
InsertUnfiltered(queueItem.Unfiltered);
|
||||||
InsertUnfiltered(queueItem.Unfiltered);
|
}
|
||||||
break;
|
|
||||||
case Operations.Insert when queueItem.Filtered is not null:
|
else if (queueItem.Operations == Operations.Insert && queueItem.DbType == DbType.Filtered)
|
||||||
InsertFiltered(queueItem.Filtered);
|
{
|
||||||
break;
|
InsertFiltered(queueItem.Filtered!);
|
||||||
case Operations.Insert when queueItem.ResumeObject is not null:
|
}
|
||||||
InsertResumeObject(queueItem.ResumeObject);
|
|
||||||
break;
|
else if (queueItem.Operations == Operations.Insert && queueItem.ResumeObject is not null)
|
||||||
case Operations.Update when queueItem.Unfiltered is not null:
|
{
|
||||||
UpdateUnfiltered(queueItem.Unfiltered);
|
InsertResumeObject(queueItem.ResumeObject);
|
||||||
break;
|
}
|
||||||
|
|
||||||
|
else if (queueItem.Operations == Operations.Update && queueItem.DbType == DbType.Unfiltered)
|
||||||
|
{
|
||||||
|
UpdateUnfiltered(queueItem.Unfiltered);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -151,9 +156,7 @@ public class DbHandler
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
_discardedQueue.TryDequeue(out Discarded? queueItem);
|
_discardedQueue.TryDequeue(out Discarded queueItem);
|
||||||
|
|
||||||
if (queueItem is null) { continue; }
|
|
||||||
|
|
||||||
InsertDiscarded(queueItem, connectionString);
|
InsertDiscarded(queueItem, connectionString);
|
||||||
}
|
}
|
||||||
@@ -170,8 +173,10 @@ public class DbHandler
|
|||||||
|
|
||||||
using SqliteCommand command = new(InsertStatement, connection);
|
using SqliteCommand command = new(InsertStatement, connection);
|
||||||
|
|
||||||
command.Parameters.AddWithValue("@ip", unfiltered.Ip);
|
command.Parameters.AddWithValue("@ip1", unfiltered.Ip.Ip1);
|
||||||
command.Parameters.AddWithValue("@responseCode", unfiltered.ResponseCode);
|
command.Parameters.AddWithValue("@ip2", unfiltered.Ip.Ip2);
|
||||||
|
command.Parameters.AddWithValue("@ip3", unfiltered.Ip.Ip3);
|
||||||
|
command.Parameters.AddWithValue("@ip4", unfiltered.Ip.Ip4);
|
||||||
command.Parameters.AddWithValue("@port1", unfiltered.Port1);
|
command.Parameters.AddWithValue("@port1", unfiltered.Port1);
|
||||||
command.Parameters.AddWithValue("@port2", unfiltered.Port2);
|
command.Parameters.AddWithValue("@port2", unfiltered.Port2);
|
||||||
command.Parameters.AddWithValue("@filtered", unfiltered.Filtered);
|
command.Parameters.AddWithValue("@filtered", unfiltered.Filtered);
|
||||||
@@ -187,7 +192,10 @@ public class DbHandler
|
|||||||
|
|
||||||
using SqliteCommand command = new(InsertIntoDiscarded, connection);
|
using SqliteCommand command = new(InsertIntoDiscarded, connection);
|
||||||
|
|
||||||
command.Parameters.AddWithValue("@ip", discarded.Ip);
|
command.Parameters.AddWithValue("@ip1", discarded.Ip.Ip1);
|
||||||
|
command.Parameters.AddWithValue("@ip2", discarded.Ip.Ip2);
|
||||||
|
command.Parameters.AddWithValue("@ip3", discarded.Ip.Ip3);
|
||||||
|
command.Parameters.AddWithValue("@ip4", discarded.Ip.Ip4);
|
||||||
command.Parameters.AddWithValue("@responseCode", discarded.ResponseCode);
|
command.Parameters.AddWithValue("@responseCode", discarded.ResponseCode);
|
||||||
_ = command.ExecuteNonQuery();
|
_ = command.ExecuteNonQuery();
|
||||||
|
|
||||||
@@ -201,7 +209,10 @@ public class DbHandler
|
|||||||
|
|
||||||
using SqliteCommand command = new(InsertIntoFiltered, connection);
|
using SqliteCommand command = new(InsertIntoFiltered, connection);
|
||||||
|
|
||||||
command.Parameters.AddWithValue("@ip", filtered.Ip);
|
command.Parameters.AddWithValue("@ip1", filtered.Ip.Ip1);
|
||||||
|
command.Parameters.AddWithValue("@ip2", filtered.Ip.Ip2);
|
||||||
|
command.Parameters.AddWithValue("@ip3", filtered.Ip.Ip3);
|
||||||
|
command.Parameters.AddWithValue("@ip4", filtered.Ip.Ip4);
|
||||||
command.Parameters.AddWithValue("@port1", filtered.Port1);
|
command.Parameters.AddWithValue("@port1", filtered.Port1);
|
||||||
command.Parameters.AddWithValue("@port2", filtered.Port2);
|
command.Parameters.AddWithValue("@port2", filtered.Port2);
|
||||||
command.Parameters.AddWithValue("@url1", filtered.Url1);
|
command.Parameters.AddWithValue("@url1", filtered.Url1);
|
||||||
@@ -267,7 +278,7 @@ public class DbHandler
|
|||||||
connection.Close();
|
connection.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Unfiltered? ReadUnfilteredWithId(long id)
|
public Unfiltered ReadUnfilteredWithId(long id)
|
||||||
{
|
{
|
||||||
using SqliteConnection connection = new(_unfilteredConnectionString);
|
using SqliteConnection connection = new(_unfilteredConnectionString);
|
||||||
connection.Open();
|
connection.Open();
|
||||||
@@ -276,19 +287,25 @@ public class DbHandler
|
|||||||
command.Parameters.AddWithValue("@id", id);
|
command.Parameters.AddWithValue("@id", id);
|
||||||
|
|
||||||
using SqliteDataReader reader = command.ExecuteReader();
|
using SqliteDataReader reader = command.ExecuteReader();
|
||||||
if (!reader.HasRows) return null;
|
if (!reader.HasRows) return new();
|
||||||
|
|
||||||
Unfiltered unfiltered = new();
|
Unfiltered unfiltered = new();
|
||||||
|
Ip ip = new();
|
||||||
|
|
||||||
while (reader.Read())
|
while (reader.Read())
|
||||||
{
|
{
|
||||||
unfiltered.Id = reader.GetInt32(0);
|
unfiltered.Id = reader.GetInt32(0);
|
||||||
unfiltered.Ip = reader.GetString(1);
|
ip.Ip1 = reader.GetInt32(1);
|
||||||
unfiltered.Port1 = reader.GetInt32(3);
|
ip.Ip2 = reader.GetInt32(2);
|
||||||
unfiltered.Port2 = reader.GetInt32(4);
|
ip.Ip3 = reader.GetInt32(3);
|
||||||
unfiltered.Filtered = reader.GetInt32(5);
|
ip.Ip4 = reader.GetInt32(4);
|
||||||
|
unfiltered.Port1 = reader.GetInt32(5);
|
||||||
|
unfiltered.Port2 = reader.GetInt32(6);
|
||||||
|
unfiltered.Filtered = reader.GetBoolean(7);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unfiltered.Ip = ip;
|
||||||
|
|
||||||
return unfiltered;
|
return unfiltered;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -364,13 +381,16 @@ public class DbHandler
|
|||||||
return rowId;
|
return rowId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool GetFilteredIp(string ip)
|
public bool FilteredIpExists(Ip ip)
|
||||||
{
|
{
|
||||||
using SqliteConnection connection = new(_filteredConnectionString);
|
using SqliteConnection connection = new(_filteredConnectionString);
|
||||||
connection.Open();
|
connection.Open();
|
||||||
|
|
||||||
using SqliteCommand command = new(ReadFilteredIpStatement, connection);
|
using SqliteCommand command = new(ReadFilteredIpStatement, connection);
|
||||||
command.Parameters.AddWithValue("@ip", ip);
|
command.Parameters.AddWithValue("@ip1", ip.Ip1);
|
||||||
|
command.Parameters.AddWithValue("@ip2", ip.Ip2);
|
||||||
|
command.Parameters.AddWithValue("@ip3", ip.Ip3);
|
||||||
|
command.Parameters.AddWithValue("@ip4", ip.Ip4);
|
||||||
|
|
||||||
using SqliteDataReader reader = command.ExecuteReader();
|
using SqliteDataReader reader = command.ExecuteReader();
|
||||||
|
|
||||||
@@ -379,14 +399,37 @@ public class DbHandler
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
string ipAddress = "";
|
Ip tempIp = new();
|
||||||
|
|
||||||
while (reader.Read())
|
while (reader.Read())
|
||||||
{
|
{
|
||||||
ipAddress = reader.GetString(0);
|
tempIp.Ip1 = reader.GetInt32(0);
|
||||||
|
tempIp.Ip2 = reader.GetInt32(1);
|
||||||
|
tempIp.Ip3 = reader.GetInt32(2);
|
||||||
|
tempIp.Ip4 = reader.GetInt32(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ipAddress == ip;
|
if (tempIp.Ip1 != ip.Ip1)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tempIp.Ip2 != ip.Ip2)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tempIp.Ip3 != ip.Ip3)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tempIp.Ip4 != ip.Ip4)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<SearchResult?> GetSearchResults()
|
public List<SearchResult?> GetSearchResults()
|
||||||
@@ -534,7 +577,7 @@ public class DbHandler
|
|||||||
{
|
{
|
||||||
string databaseName = $"Data Source={_basePath}/Models/Discarded{threadNumber}.db";
|
string databaseName = $"Data Source={_basePath}/Models/Discarded{threadNumber}.db";
|
||||||
|
|
||||||
const string createStatement = "CREATE TABLE IF NOT EXISTS Discarded (Id INTEGER NOT NULL, Ip TEXT NOT NULL, ResponseCode INTEGER NOT NULL, PRIMARY KEY(Id AUTOINCREMENT))";
|
const string createStatement = "CREATE TABLE IF NOT EXISTS Discarded (Id INTEGER NOT NULL, Ip1 TEXT NOT NULL, Ip2 TEXT NOT NULL, Ip3 TEXT NOT NULL, Ip4 TEXT NOT NULL, ResponseCode INTEGER NOT NULL, PRIMARY KEY(Id AUTOINCREMENT))";
|
||||||
|
|
||||||
_discardedConnectionStrings.Add(databaseName);
|
_discardedConnectionStrings.Add(databaseName);
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
namespace Models.Model.Backend;
|
||||||
|
|
||||||
|
public enum DbType
|
||||||
|
{
|
||||||
|
Unfiltered,
|
||||||
|
Filtered,
|
||||||
|
}
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
namespace Models.Model.Backend;
|
namespace Models.Model.Backend;
|
||||||
|
|
||||||
public class Discarded
|
public struct Discarded
|
||||||
{
|
{
|
||||||
public string Ip { get; set; } = "";
|
public Ip Ip { get; set; }
|
||||||
|
|
||||||
public int ResponseCode { get; set; }
|
public int ResponseCode { get; set; }
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@ namespace Models.Model.Backend;
|
|||||||
|
|
||||||
public class Filtered
|
public class Filtered
|
||||||
{
|
{
|
||||||
public string Ip { get; set; } = "";
|
public Ip Ip { get; set; }
|
||||||
public string Title1 { get; set; } = "";
|
public string Title1 { get; set; } = "";
|
||||||
public string Title2 { get; set; } = "";
|
public string Title2 { get; set; } = "";
|
||||||
public string Description1 { get; set; } = "";
|
public string Description1 { get; set; } = "";
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
namespace Models.Model.Backend;
|
||||||
|
|
||||||
|
public struct Ip
|
||||||
|
{
|
||||||
|
public int Ip1 { get; set; }
|
||||||
|
|
||||||
|
public int Ip2 { get; set; }
|
||||||
|
|
||||||
|
public int Ip3 { get; set; }
|
||||||
|
|
||||||
|
public int Ip4 { get; set; }
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return $"{Ip1}.{Ip2}.{Ip3}.{Ip4}";
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,8 +2,9 @@ namespace Models.Model.Backend;
|
|||||||
|
|
||||||
public class QueueItem
|
public class QueueItem
|
||||||
{
|
{
|
||||||
public Unfiltered? Unfiltered { get; init; }
|
public Unfiltered Unfiltered { get; init; }
|
||||||
public Filtered? Filtered { get; init; }
|
public Filtered? Filtered { get; init; }
|
||||||
public ScannerResumeObject? ResumeObject { get; init; }
|
public ScannerResumeObject? ResumeObject { get; init; }
|
||||||
public Operations Operations { get; init; }
|
public Operations Operations { get; init; }
|
||||||
|
public DbType DbType { get; init; }
|
||||||
}
|
}
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
namespace Models.Model.Backend;
|
namespace Models.Model.Backend;
|
||||||
|
|
||||||
public class Unfiltered
|
public struct Unfiltered
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public string Ip { get; set; } = "";
|
public Ip Ip { get; set; }
|
||||||
|
|
||||||
public int ResponseCode { get; init; }
|
|
||||||
|
|
||||||
public int Port1 { get; set; }
|
public int Port1 { get; set; }
|
||||||
|
|
||||||
public int Port2 { get; set; }
|
public int Port2 { get; set; }
|
||||||
|
|
||||||
public int Filtered { get; set; }
|
public bool Filtered { get; set; }
|
||||||
}
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,13 @@
|
|||||||
|
DROP TABLE Unfiltered;
|
||||||
|
|
||||||
|
CREATE TABLE "Unfiltered" (
|
||||||
|
"Id" INTEGER NOT NULL,
|
||||||
|
"Ip1" INTEGER NOT NULL,
|
||||||
|
"Ip2" INTEGER NOT NULL,
|
||||||
|
"Ip3" INTEGER NOT NULL,
|
||||||
|
"Ip4" INTEGER NOT NULL,
|
||||||
|
"Port1" INTEGER NOT NULL,
|
||||||
|
"Port2" INTEGER NOT NULL,
|
||||||
|
"Filtered" INTEGER NOT NULL,
|
||||||
|
CONSTRAINT "PK_Unfiltered" PRIMARY KEY("Id" AUTOINCREMENT)
|
||||||
|
)
|
||||||
Binary file not shown.
@@ -2,8 +2,10 @@
|
|||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000006pdb6Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003Fd17d4b69379a42eb90f15b17ef6c846a5400_003F39_003F1eeed291_003F02000006pdb6Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000006pdb6Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003Fd17d4b69379a42eb90f15b17ef6c846a5400_003F39_003F1eeed291_003F02000006pdb6Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000007pdb1Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F096da63313a8436fb75089601a728c765200_003Fbb_003Ff6383783_003F02000007pdb1Low_002Ecs_002Fz_003A2_002D1/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000007pdb1Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F096da63313a8436fb75089601a728c765200_003Fbb_003Ff6383783_003F02000007pdb1Low_002Ecs_002Fz_003A2_002D1/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000007pdb1Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F357247e747614c8297021dd08d79da3d5200_003Ff2_003Fc4ae8c87_003F02000007pdb1Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000007pdb1Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F357247e747614c8297021dd08d79da3d5200_003Ff2_003Fc4ae8c87_003F02000007pdb1Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A0200000Fpdb2Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F069d64e89a7540319e3e5355db9fd8fa8600_003Fac_003F604d330e_003F0200000Fpdb2Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000010pdb3Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F80cf8253b0c2409096d0c0e368300af28200_003Fdd_003F8098fc19_003F02000010pdb3Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000010pdb3Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F80cf8253b0c2409096d0c0e368300af28200_003Fdd_003F8098fc19_003F02000010pdb3Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000011pdb4Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F1f6cfdd1e3a14f6390237f6ab98b06af8000_003F0d_003Febdca535_003F02000011pdb4Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000011pdb4Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F1f6cfdd1e3a14f6390237f6ab98b06af8000_003F0d_003Febdca535_003F02000011pdb4Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003A02000013pdb13Low_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003FILViewer_003F8d5d3174bfdc4554bbaac3d5e7c564a29800_003F64_003F42d93916_003F02000013pdb13Low_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AAttributes_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F9a4cb3a98df697f884fa5f45bc79e4291fa3e948c7f42560e14678e12055e_003FAttributes_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AAttributes_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F9a4cb3a98df697f884fa5f45bc79e4291fa3e948c7f42560e14678e12055e_003FAttributes_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AAttribute_002ECoreCLR_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fbb9be2cb8efb72a7d2286fbdd10a293b55b3e2a912f49fac6a7719673268e4b_003FAttribute_002ECoreCLR_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AAttribute_002ECoreCLR_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fbb9be2cb8efb72a7d2286fbdd10a293b55b3e2a912f49fac6a7719673268e4b_003FAttribute_002ECoreCLR_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AConcurrentQueue_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fb049a159646b52d2dd6ced21de315f79dff86421243e94ffd4f29c6f7e4df25_003FConcurrentQueue_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AConcurrentQueue_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fb049a159646b52d2dd6ced21de315f79dff86421243e94ffd4f29c6f7e4df25_003FConcurrentQueue_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
@@ -11,6 +13,7 @@
|
|||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ECommunicationObjectFormatter_002Eg_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F5029ca69753a60cb407b1053f5834320dadee066_003FFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ECommunicationObjectFormatter_002Eg_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ECommunicationObjectFormatter_002Eg_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F5029ca69753a60cb407b1053f5834320dadee066_003FFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ECommunicationObjectFormatter_002Eg_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ESearchResultsFormatter_002Eg_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F99b5d033f8bfb58a6a753ca88a3d956f2228bd48_003FFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ESearchResultsFormatter_002Eg_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ESearchResultsFormatter_002Eg_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F99b5d033f8bfb58a6a753ca88a3d956f2228bd48_003FFormatters_002EMessagePack_002EGeneratedMessagePackResolver_002EModels_002EModel_002EExternal_002ESearchResultsFormatter_002Eg_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFuture_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F13cbfe6856867dd1ed4e39575e46d816dae2a146a8ceec8f76b5897f5e0fe_003FFuture_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AFuture_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F13cbfe6856867dd1ed4e39575e46d816dae2a146a8ceec8f76b5897f5e0fe_003FFuture_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AHttpClient_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F60038225224a9318597b3232280390933d3c3fe85d9ed859a7e4825915eb1c_003FHttpClient_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AHttpContent_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F5a55e5df9328b51021ba85b8f12ff49eca8772dba9772c0d61d5e28edf255c_003FHttpContent_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AHttpContent_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F5a55e5df9328b51021ba85b8f12ff49eca8772dba9772c0d61d5e28edf255c_003FHttpContent_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AHttpMethodAttribute_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F2e4732e712a98f9ac0d080ac68669b3db6d98781e0d5ad89886cb6bcc890b18_003FHttpMethodAttribute_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AHttpMethodAttribute_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003F2e4732e712a98f9ac0d080ac68669b3db6d98781e0d5ad89886cb6bcc890b18_003FHttpMethodAttribute_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AIFormatterResolver_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fc7d856f45ddf907f9face6c2bdba7836cc70fed4bb2b8ebd83ee6917584af3_003FIFormatterResolver_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AIFormatterResolver_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FSourcesCache_003Fc7d856f45ddf907f9face6c2bdba7836cc70fed4bb2b8ebd83ee6917584af3_003FIFormatterResolver_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
|||||||
Reference in New Issue
Block a user