From 757ece59676dc113dc8ae5d6a118a29f5892e913 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Fri, 4 Jul 2025 00:04:51 +0300 Subject: [PATCH] Add LICENSE --- Configuration/AppSettings.cs | 3 ++- Controllers/ProcessController.cs | 3 ++- Exceptions/GettingModuleInfoException.cs | 3 ++- Exceptions/MemoryRegionException.cs | 3 ++- Exceptions/ProcessAccessDeniedException.cs | 3 ++- Exceptions/ProcessMonitorException.cs | 3 ++- LICENSE | 8 ++++++++ Models/MemoryRegion.cs | 3 ++- Models/MemoryRegionInfo.cs | 3 ++- Models/ProcessBaseInfo.cs | 3 ++- Models/ProcessInfo.cs | 3 ++- Models/ProcessModuleInfo.cs | 3 ++- Models/ProcessThreadInfo.cs | 3 ++- Program.cs | 3 ++- Services/ProcessMonitor.cs | 3 ++- Services/Scanners/AbstractCpuScanner.cs | 3 ++- Services/Scanners/AbstractScanner.cs | 3 ++- Services/Scanners/IScanProvider.cs | 3 ++- Services/Scanners/IScannable.cs | 3 ++- Services/Scanners/MemoryRegionScanner.cs | 3 ++- Services/Scanners/ModuleScanner.cs | 3 ++- Services/Scanners/ProcessScanner.cs | 3 ++- Services/Scanners/ScanProvider.cs | 3 ++- Services/Scanners/ScanQueue.cs | 5 ++--- Services/Scanners/ScanTarget.cs | 3 ++- Services/Scanners/ThreadScanner.cs | 3 ++- Utils/ConcurrentObject.cs | 3 ++- Utils/JsonEnumConverter.cs | 3 ++- Utils/LazyConcurrentContainer.cs | 3 ++- Utils/WindowsProcess.cs | 3 ++- 30 files changed, 66 insertions(+), 31 deletions(-) create mode 100644 LICENSE diff --git a/Configuration/AppSettings.cs b/Configuration/AppSettings.cs index 2c3015d..363e8f5 100644 --- a/Configuration/AppSettings.cs +++ b/Configuration/AppSettings.cs @@ -1,4 +1,5 @@ -// File: Configuration/AppSettings.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Configuration { diff --git a/Controllers/ProcessController.cs b/Controllers/ProcessController.cs index 6d668ff..36d7fd7 100644 --- a/Controllers/ProcessController.cs +++ b/Controllers/ProcessController.cs @@ -1,4 +1,5 @@ -// File: Controllers/ProcessController.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using Microsoft.AspNetCore.Mvc; using System.Text.Json; diff --git a/Exceptions/GettingModuleInfoException.cs b/Exceptions/GettingModuleInfoException.cs index 95487f1..36a8e30 100644 --- a/Exceptions/GettingModuleInfoException.cs +++ b/Exceptions/GettingModuleInfoException.cs @@ -1,4 +1,5 @@ -// File: Exceptions/GettingModuleInfoException.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Exceptions { diff --git a/Exceptions/MemoryRegionException.cs b/Exceptions/MemoryRegionException.cs index 108355a..19932aa 100644 --- a/Exceptions/MemoryRegionException.cs +++ b/Exceptions/MemoryRegionException.cs @@ -1,4 +1,5 @@ -// File: Exceptions/MemoryRegionException.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Exceptions { diff --git a/Exceptions/ProcessAccessDeniedException.cs b/Exceptions/ProcessAccessDeniedException.cs index dadf8b8..4ce1023 100644 --- a/Exceptions/ProcessAccessDeniedException.cs +++ b/Exceptions/ProcessAccessDeniedException.cs @@ -1,4 +1,5 @@ -// File: Exceptions/ProcessAccessDeniedException.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Exceptions { diff --git a/Exceptions/ProcessMonitorException.cs b/Exceptions/ProcessMonitorException.cs index cc2ccf3..c9536f1 100644 --- a/Exceptions/ProcessMonitorException.cs +++ b/Exceptions/ProcessMonitorException.cs @@ -1,4 +1,5 @@ -// File: Exceptions/ProcessMonitorException.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Exceptions { diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7449de5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +MIT License +Copyright (c) <2024-2025> + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Models/MemoryRegion.cs b/Models/MemoryRegion.cs index 26b19cf..257efe6 100644 --- a/Models/MemoryRegion.cs +++ b/Models/MemoryRegion.cs @@ -1,4 +1,5 @@ -// File: Models/MemoryRegion.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Text.Json.Serialization; using WebmrAPI.Utils; diff --git a/Models/MemoryRegionInfo.cs b/Models/MemoryRegionInfo.cs index 5f48b61..2b8798f 100644 --- a/Models/MemoryRegionInfo.cs +++ b/Models/MemoryRegionInfo.cs @@ -1,4 +1,5 @@ -// File: Models/MemoryRegionInfo.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using WebmrAPI.Utils; diff --git a/Models/ProcessBaseInfo.cs b/Models/ProcessBaseInfo.cs index 12c1edf..514a16c 100644 --- a/Models/ProcessBaseInfo.cs +++ b/Models/ProcessBaseInfo.cs @@ -1,4 +1,5 @@ -// File: Models/ProcessBaseInfo.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Text.Json.Serialization; diff --git a/Models/ProcessInfo.cs b/Models/ProcessInfo.cs index 1b5f12a..8ef8557 100644 --- a/Models/ProcessInfo.cs +++ b/Models/ProcessInfo.cs @@ -1,4 +1,5 @@ -// File: Models/ProcessInfo.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Runtime.Versioning; using System.Text.Json.Serialization; diff --git a/Models/ProcessModuleInfo.cs b/Models/ProcessModuleInfo.cs index 816f10f..b3d961e 100644 --- a/Models/ProcessModuleInfo.cs +++ b/Models/ProcessModuleInfo.cs @@ -1,4 +1,5 @@ -// File: Models/ProcessModuleInfo.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Text.Json.Serialization; diff --git a/Models/ProcessThreadInfo.cs b/Models/ProcessThreadInfo.cs index 2f9fd71..b2cf65d 100644 --- a/Models/ProcessThreadInfo.cs +++ b/Models/ProcessThreadInfo.cs @@ -1,4 +1,5 @@ -// File: Models/ProcessThreadInfo.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Text.Json.Serialization; using WebmrAPI.Utils; diff --git a/Program.cs b/Program.cs index 508a88f..3f2272f 100644 --- a/Program.cs +++ b/Program.cs @@ -1,4 +1,5 @@ -// File: Program.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using Microsoft.Extensions.Options; using System.Runtime.Versioning; diff --git a/Services/ProcessMonitor.cs b/Services/ProcessMonitor.cs index 5ed526f..4a12f95 100644 --- a/Services/ProcessMonitor.cs +++ b/Services/ProcessMonitor.cs @@ -1,4 +1,5 @@ -// File: Services/ProcessMonitor.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using Microsoft.Extensions.Options; using System.Runtime.Versioning; diff --git a/Services/Scanners/AbstractCpuScanner.cs b/Services/Scanners/AbstractCpuScanner.cs index 5ce6b9e..bf3936e 100644 --- a/Services/Scanners/AbstractCpuScanner.cs +++ b/Services/Scanners/AbstractCpuScanner.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/AbstractCpuScanner.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using WebmrAPI.Utils; diff --git a/Services/Scanners/AbstractScanner.cs b/Services/Scanners/AbstractScanner.cs index 155914b..e5b5e3f 100644 --- a/Services/Scanners/AbstractScanner.cs +++ b/Services/Scanners/AbstractScanner.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/AbstractScanner.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using WebmrAPI.Utils; diff --git a/Services/Scanners/IScanProvider.cs b/Services/Scanners/IScanProvider.cs index 848ed11..03039ac 100644 --- a/Services/Scanners/IScanProvider.cs +++ b/Services/Scanners/IScanProvider.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/IScanProvider.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Services.Scanners { diff --git a/Services/Scanners/IScannable.cs b/Services/Scanners/IScannable.cs index ff5a622..ca0414f 100644 --- a/Services/Scanners/IScannable.cs +++ b/Services/Scanners/IScannable.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/IScannable.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Services.Scanners { diff --git a/Services/Scanners/MemoryRegionScanner.cs b/Services/Scanners/MemoryRegionScanner.cs index d644de6..42083b8 100644 --- a/Services/Scanners/MemoryRegionScanner.cs +++ b/Services/Scanners/MemoryRegionScanner.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/MemoryRegionScanner.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using WebmrAPI.Exceptions; using WebmrAPI.Models; diff --git a/Services/Scanners/ModuleScanner.cs b/Services/Scanners/ModuleScanner.cs index 9b4ff3b..0696643 100644 --- a/Services/Scanners/ModuleScanner.cs +++ b/Services/Scanners/ModuleScanner.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/ModuleScanner.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Diagnostics; using WebmrAPI.Exceptions; diff --git a/Services/Scanners/ProcessScanner.cs b/Services/Scanners/ProcessScanner.cs index 6318dce..8f8c41a 100644 --- a/Services/Scanners/ProcessScanner.cs +++ b/Services/Scanners/ProcessScanner.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/ProcessScanner.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Diagnostics; using System.Management; diff --git a/Services/Scanners/ScanProvider.cs b/Services/Scanners/ScanProvider.cs index d48585b..7a9913c 100644 --- a/Services/Scanners/ScanProvider.cs +++ b/Services/Scanners/ScanProvider.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/ScanProvider.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using WebmrAPI.Models; diff --git a/Services/Scanners/ScanQueue.cs b/Services/Scanners/ScanQueue.cs index cb59907..34f4cb6 100644 --- a/Services/Scanners/ScanQueue.cs +++ b/Services/Scanners/ScanQueue.cs @@ -1,6 +1,5 @@ -// File: Services/Scanners/ScanQueue.cs - -using System.Diagnostics; +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Services.Scanners { diff --git a/Services/Scanners/ScanTarget.cs b/Services/Scanners/ScanTarget.cs index c9e8f4d..5a02a5d 100644 --- a/Services/Scanners/ScanTarget.cs +++ b/Services/Scanners/ScanTarget.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/ScanTarget.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Services.Scanners { diff --git a/Services/Scanners/ThreadScanner.cs b/Services/Scanners/ThreadScanner.cs index b3268f7..21d22a7 100644 --- a/Services/Scanners/ThreadScanner.cs +++ b/Services/Scanners/ThreadScanner.cs @@ -1,4 +1,5 @@ -// File: Services/Scanners/ThreadScanner.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Diagnostics; using WebmrAPI.Models; diff --git a/Utils/ConcurrentObject.cs b/Utils/ConcurrentObject.cs index ae7ba8a..e868958 100644 --- a/Utils/ConcurrentObject.cs +++ b/Utils/ConcurrentObject.cs @@ -1,4 +1,5 @@ -// File: Utils/ConcurrentObject.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ namespace WebmrAPI.Utils { diff --git a/Utils/JsonEnumConverter.cs b/Utils/JsonEnumConverter.cs index 37a0aa7..ce946a5 100644 --- a/Utils/JsonEnumConverter.cs +++ b/Utils/JsonEnumConverter.cs @@ -1,4 +1,5 @@ -// File: Utils/JsonEnumConverter.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Text.Json; using System.Text.Json.Serialization; diff --git a/Utils/LazyConcurrentContainer.cs b/Utils/LazyConcurrentContainer.cs index 25fdb1b..5f70bde 100644 --- a/Utils/LazyConcurrentContainer.cs +++ b/Utils/LazyConcurrentContainer.cs @@ -1,4 +1,5 @@ -// File: Utils/LazyConcurrentContainer.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Collections.Concurrent; diff --git a/Utils/WindowsProcess.cs b/Utils/WindowsProcess.cs index da7faa2..39be8ec 100644 --- a/Utils/WindowsProcess.cs +++ b/Utils/WindowsProcess.cs @@ -1,4 +1,5 @@ -// File: Utils/WindowsProcess.cs +/* This software is licensed by the MIT License, see LICENSE file */ +/* Copyright © 2024-2025 Gregory Lirent */ using System.Runtime.InteropServices; using System.Runtime.Versioning;