now it runs the normal and the admin

This commit is contained in:
2023-05-11 22:03:34 +03:00
parent 6453f6f9d3
commit 7a9c05bfc4
435 changed files with 1916 additions and 365 deletions

Binary file not shown.

29
Runas/Prog.cs Normal file
View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LiteDB;
namespace Runas
{
internal class Prog
{
private BsonMapper mapper = BsonMapper.Global;
private void m()
{
mapper.Entity<Prog>().
Field(x => x.File, "File").Field(x => x.Arguments, "Arguments");
}
internal string File { get; set; }
internal string? Arguments { get; set; }
internal string _id { get; }
public Prog() { }
[BsonCtor]
public Prog(string _id,string File, string Arguments) {
this._id = _id;
this.File = File;
this.Arguments = Arguments;
}
}
}

View File

@@ -1,90 +1,61 @@
using Newtonsoft.Json;
using System.Diagnostics; using System.Diagnostics;
using System; using System;
using System.Text.RegularExpressions;
using Serilog; using Serilog;
using Serilog.Core; using LiteDB;
namespace Runas namespace Runas
{ {
class Program class Program
{ {
public static string DataText = RegexAllEnv(Runas.Properties.Resources.progs);
public static dynamic jprograms = JsonConvert.DeserializeObject(DataText);
public static string RegexAllEnv(string data)
{
System.Collections.Hashtable env = (System.Collections.Hashtable)Environment.GetEnvironmentVariables();
string val;
foreach (System.Collections.DictionaryEntry key in env)
{
val = (string)key.Value;
val = val.Replace(@"\", @"\\");
if (key.Key is not (object)"Path" and not (object)"path")
{
data = val.EndsWith(@"\") ? Regex.Replace(data, $"\\u0025{key.Key}\\u0025\\\\", val, RegexOptions.IgnoreCase) : Regex.Replace(data, $"\\u0025{key.Key}\\u0025", val, RegexOptions.IgnoreCase);
// val.EndsWith(@"\")? data.Replace($"%{key.Key}%\\", val) : data.Replace($"%{key.Key}%",val);
}
}
return data;
}
public static bool DoRun(string program) public static bool DoRun(string program)
{ {
Process[] process = Process.GetProcessesByName(program); Process[] process = Process.GetProcessesByName(program);
Log.Information($"{program}:{process.Length > 0}"); Log.Information($"{program}:{process.Length > 0}");
return (process.Length > 0); return (process.Length > 0);
} }
public static void RunProcess(string programName)
{
if (!(DoRun(programName))) static void RunMe(Prog prog, bool verb = false)
{ {
if (programName.Equals("AutoHotKey")) if (!DoRun(prog._id))
{ {
Log.Information($"\u0022{jprograms[programName][1].Value.ToString()}\u0022"); Log.Information(prog._id);
ProcessStartInfo proc = new(); ProcessStartInfo proc = new();
proc.UseShellExecute= false; proc.UseShellExecute= true;
proc.Arguments = $"\u0022{jprograms[programName][1].Value.ToString()}\u0022"; if(prog.Arguments is not null) {
proc.FileName = jprograms[programName][0].Value; proc.Arguments= prog.Arguments;
proc.RedirectStandardError = true;
Log.Information(Process.Start(proc).StandardError.ReadToEnd());
//Process.Start(jprograms[programName][0].Value, $"\u0022{jprograms[programName][1].Value.ToString()}\u0022");
} }
proc.FileName = prog.File;
if (verb)
{
proc.Verb = "runas";
}
if (System.IO.File.Exists(proc.FileName))
{
else if (jprograms[programName].Count > 1) Process.Start(proc);
{ Log.Information(proc.FileName);
foreach (var prog in jprograms[programName])
{
if (System.IO.File.Exists(prog.Value))
{
Log.Information($"{prog.Value}");
Process.Start(prog.Value);
}
}
}
else if (jprograms[programName].Count == 1)
{
if (System.IO.File.Exists(jprograms[programName][0].Value))
{
Log.Information($"{jprograms[programName][0].Value}");
Process.Start(jprograms[programName][0].Value);
}
} }
} }
} }
static void Main(string[] args) static void Main(string[] args)
{ {
var data = new LiteDatabase(@"Resources/fu");
Log.Logger = new LoggerConfiguration().WriteTo.File( Log.Logger = new LoggerConfiguration().WriteTo.File(
$"{Environment.CurrentDirectory}/Logs/{DateTime.Now:yyyy-MM-dd}.log", $"{Environment.CurrentDirectory}/Logs/{DateTime.Now:yyyy-MM-dd}.log",
Serilog.Events.LogEventLevel.Information, Serilog.Events.LogEventLevel.Information,
"{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}[{Level: u3}] {Message:lj}{NewLine}", "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}[{Level: u3}] {Message:lj}{NewLine}",
rollingInterval: RollingInterval.Hour) rollingInterval: RollingInterval.Hour)
.CreateLogger(); .CreateLogger();
foreach (var prog in jprograms) foreach(var item in data.GetCollection<Prog>("justrun").FindAll()) {
RunMe(item);
}
foreach (var item in data.GetCollection<Prog>("runas").FindAll())
{ {
string ProgProg = ((Newtonsoft.Json.Linq.JProperty)prog).Name; RunMe(item, true);
System.Threading.Thread thread = new(new System.Threading.ThreadStart(() => RunProcess(ProgProg))); }
thread.Start(); return;
}
} }
} }
} }

View File

@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
--> -->
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<History>True|2023-05-10T03:20:47.8093947Z;True|2023-05-10T06:17:42.4993268+03:00;True|2023-05-10T06:12:44.8925775+03:00;True|2023-05-10T06:09:03.5233096+03:00;True|2023-05-10T06:04:13.8322513+03:00;True|2023-04-15T16:50:27.2494025+03:00;True|2023-04-13T12:15:40.8121486+03:00;True|2023-04-13T12:14:39.0698838+03:00;True|2023-04-13T11:56:25.1667689+03:00;True|2023-01-28T18:03:25.0217787+02:00;True|2023-01-16T23:36:26.1406639+02:00;True|2023-01-16T23:32:30.2672510+02:00;True|2023-01-16T23:23:32.8409530+02:00;True|2023-01-16T23:17:50.9710950+02:00;</History> <History>True|2023-05-11T19:02:51.2552640Z;True|2023-05-11T21:49:12.2969130+03:00;False|2023-05-11T21:48:40.4117297+03:00;True|2023-05-11T21:11:39.1970156+03:00;True|2023-05-11T21:02:42.5394263+03:00;False|2023-05-11T20:58:37.6065421+03:00;True|2023-05-11T20:55:06.7668117+03:00;True|2023-05-11T20:54:31.1716996+03:00;False|2023-05-11T20:54:11.4960753+03:00;False|2023-05-11T20:54:01.8520808+03:00;False|2023-05-11T20:53:38.3458613+03:00;True|2023-05-11T20:37:33.5354276+03:00;False|2023-05-11T20:36:12.3336164+03:00;True|2023-05-10T06:20:47.8093947+03:00;True|2023-05-10T06:17:42.4993268+03:00;True|2023-05-10T06:12:44.8925775+03:00;True|2023-05-10T06:09:03.5233096+03:00;True|2023-05-10T06:04:13.8322513+03:00;True|2023-04-15T16:50:27.2494025+03:00;True|2023-04-13T12:15:40.8121486+03:00;True|2023-04-13T12:14:39.0698838+03:00;True|2023-04-13T11:56:25.1667689+03:00;True|2023-01-28T18:03:25.0217787+02:00;True|2023-01-16T23:36:26.1406639+02:00;True|2023-01-16T23:32:30.2672510+02:00;True|2023-01-16T23:23:32.8409530+02:00;True|2023-01-16T23:17:50.9710950+02:00;</History>
<LastFailureDetails /> <LastFailureDetails />
</PropertyGroup> </PropertyGroup>
</Project> </Project>

BIN
Runas/Resources/fu Normal file

Binary file not shown.

View File

@@ -21,8 +21,15 @@
<Optimize>True</Optimize> <Optimize>True</Optimize>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" /> <EmbeddedResource Include="Resources\fu">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="LiteDB" Version="5.0.16" />
<PackageReference Include="Serilog" Version="2.12.0" /> <PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.0" /> <PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.0" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" /> <PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,229 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Runas/1.0.0": {
"dependencies": {
"LiteDB": "5.0.16",
"Serilog": "2.12.0",
"Serilog.Enrichers.Environment": "2.2.0",
"Serilog.Enrichers.Thread": "3.1.0",
"Serilog.Extensions.Logging": "3.1.0",
"Serilog.Sinks.File": "5.0.0"
},
"runtime": {
"Runas.dll": {}
}
},
"LiteDB/5.0.16": {
"runtime": {
"lib/netstandard2.0/LiteDB.dll": {
"assemblyVersion": "5.0.16.0",
"fileVersion": "5.0.16.0"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Logging/2.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"Microsoft.Extensions.Options": "2.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Logging.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Options/2.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
"Microsoft.Extensions.Primitives": "2.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Options.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Primitives/2.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "4.4.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Serilog/2.12.0": {
"runtime": {
"lib/net6.0/Serilog.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.12.0.0"
}
}
},
"Serilog.Enrichers.Environment/2.2.0": {
"dependencies": {
"Serilog": "2.12.0"
},
"runtime": {
"lib/netstandard2.0/Serilog.Enrichers.Environment.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.2.0.0"
}
}
},
"Serilog.Enrichers.Thread/3.1.0": {
"dependencies": {
"Serilog": "2.12.0"
},
"runtime": {
"lib/netstandard2.0/Serilog.Enrichers.Thread.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "3.1.0.0"
}
}
},
"Serilog.Extensions.Logging/3.1.0": {
"dependencies": {
"Microsoft.Extensions.Logging": "2.0.0",
"Serilog": "2.12.0"
},
"runtime": {
"lib/netstandard2.0/Serilog.Extensions.Logging.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "3.1.0.0"
}
}
},
"Serilog.Sinks.File/5.0.0": {
"dependencies": {
"Serilog": "2.12.0"
},
"runtime": {
"lib/net5.0/Serilog.Sinks.File.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.0.0"
}
}
},
"System.Runtime.CompilerServices.Unsafe/4.4.0": {}
}
},
"libraries": {
"Runas/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"LiteDB/5.0.16": {
"type": "package",
"serviceable": true,
"sha512": "sha512-DMUYdRlgNbrSlyWzdQ4GqW934ntNHBGWMTNQlOL4hWz8WnveY6V9ZGo2ntPrSATW7kat8v5VoCXGSzToPiwZWw==",
"path": "litedb/5.0.16",
"hashPath": "litedb.5.0.16.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUdJ0Q/GfVyUJc0Jal5L1QZLceL78pvEM9wEKcHeI24KorqMDoVX+gWsMGLulQMfOwsUaPtkpQM2pFERTzSfSg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/2.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VP10syWV/vxYYMKgZ2eDESmUsz3gPxvBn5J6tkVN8lI4M+dF43RN8fWsEPbcAneDmZrHl3Pv23z05nmyGkJlpg==",
"path": "microsoft.extensions.logging/2.0.0",
"hashPath": "microsoft.extensions.logging.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6ZCllUYGFukkymSTx3Yr0G/ajRxoNJp7/FqSxSB4fGISST54ifBhgu4Nc0ItGi3i6DqwuNd8SUyObmiC++AO2Q==",
"path": "microsoft.extensions.logging.abstractions/2.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sAKBgjl2gWsECBLLR9K54T7/uZaP2n9GhMYHay/oOLfvpvX0+iNAlQ2NJgVE352C9Fs5CDV3VbNTK8T2aNKQFA==",
"path": "microsoft.extensions.options/2.0.0",
"hashPath": "microsoft.extensions.options.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ukg53qNlqTrK38WA30b5qhw0GD7y3jdI9PHHASjdKyTcBHTevFM2o23tyk3pWCgAV27Bbkm+CPQ2zUe1ZOuYSA==",
"path": "microsoft.extensions.primitives/2.0.0",
"hashPath": "microsoft.extensions.primitives.2.0.0.nupkg.sha512"
},
"Serilog/2.12.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xaiJLIdu6rYMKfQMYUZgTy8YK7SMZjB4Yk50C/u//Z4OsvxkUfSPJy4nknfvwAC34yr13q7kcyh4grbwhSxyZg==",
"path": "serilog/2.12.0",
"hashPath": "serilog.2.12.0.nupkg.sha512"
},
"Serilog.Enrichers.Environment/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-DMrj3A4l65kc4JouQyZjjFv7N58Y7lGsB81kSzorTwUGeI2wrTy7CVwSOfG90/Pcu/HV5bwGrUmxDZ38pON+5Q==",
"path": "serilog.enrichers.environment/2.2.0",
"hashPath": "serilog.enrichers.environment.2.2.0.nupkg.sha512"
},
"Serilog.Enrichers.Thread/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-85lWsGRJpRxvKT6j/H67no55SUBsBIvp556TKuBTGhjtoPeq+L7j/sDWbgAtvT0p7u7/phJyX6j35PQ4Vtqw0g==",
"path": "serilog.enrichers.thread/3.1.0",
"hashPath": "serilog.enrichers.thread.3.1.0.nupkg.sha512"
},
"Serilog.Extensions.Logging/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-IWfem7wfrFbB3iw1OikqPFNPEzfayvDuN4WP7Ue1AVFskalMByeWk3QbtUXQR34SBkv1EbZ3AySHda/ErDgpcg==",
"path": "serilog.extensions.logging/3.1.0",
"hashPath": "serilog.extensions.logging.3.1.0.nupkg.sha512"
},
"Serilog.Sinks.File/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-uwV5hdhWPwUH1szhO8PJpFiahqXmzPzJT/sOijH/kFgUx+cyoDTMM8MHD0adw9+Iem6itoibbUXHYslzXsLEAg==",
"path": "serilog.sinks.file/5.0.0",
"hashPath": "serilog.sinks.file.5.0.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9dLLuBxr5GNmOfl2jSMcsHuteEg32BEfUotmmUkmZjpR3RpVHE8YQwt0ow3p6prwA1ME8WqDVZqrr8z6H8G+Kw==",
"path": "system.runtime.compilerservices.unsafe/4.4.0",
"hashPath": "system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,229 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Runas/1.0.0": {
"dependencies": {
"LiteDB": "5.0.16",
"Serilog": "2.12.0",
"Serilog.Enrichers.Environment": "2.2.0",
"Serilog.Enrichers.Thread": "3.1.0",
"Serilog.Extensions.Logging": "3.1.0",
"Serilog.Sinks.File": "5.0.0"
},
"runtime": {
"Runas.dll": {}
}
},
"LiteDB/5.0.16": {
"runtime": {
"lib/netstandard2.0/LiteDB.dll": {
"assemblyVersion": "5.0.16.0",
"fileVersion": "5.0.16.0"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Logging/2.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
"Microsoft.Extensions.Options": "2.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Logging.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Options/2.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
"Microsoft.Extensions.Primitives": "2.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Options.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Microsoft.Extensions.Primitives/2.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "4.4.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.0.17205"
}
}
},
"Serilog/2.12.0": {
"runtime": {
"lib/net6.0/Serilog.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.12.0.0"
}
}
},
"Serilog.Enrichers.Environment/2.2.0": {
"dependencies": {
"Serilog": "2.12.0"
},
"runtime": {
"lib/netstandard2.0/Serilog.Enrichers.Environment.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.2.0.0"
}
}
},
"Serilog.Enrichers.Thread/3.1.0": {
"dependencies": {
"Serilog": "2.12.0"
},
"runtime": {
"lib/netstandard2.0/Serilog.Enrichers.Thread.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "3.1.0.0"
}
}
},
"Serilog.Extensions.Logging/3.1.0": {
"dependencies": {
"Microsoft.Extensions.Logging": "2.0.0",
"Serilog": "2.12.0"
},
"runtime": {
"lib/netstandard2.0/Serilog.Extensions.Logging.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "3.1.0.0"
}
}
},
"Serilog.Sinks.File/5.0.0": {
"dependencies": {
"Serilog": "2.12.0"
},
"runtime": {
"lib/net5.0/Serilog.Sinks.File.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.0.0"
}
}
},
"System.Runtime.CompilerServices.Unsafe/4.4.0": {}
}
},
"libraries": {
"Runas/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"LiteDB/5.0.16": {
"type": "package",
"serviceable": true,
"sha512": "sha512-DMUYdRlgNbrSlyWzdQ4GqW934ntNHBGWMTNQlOL4hWz8WnveY6V9ZGo2ntPrSATW7kat8v5VoCXGSzToPiwZWw==",
"path": "litedb/5.0.16",
"hashPath": "litedb.5.0.16.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUdJ0Q/GfVyUJc0Jal5L1QZLceL78pvEM9wEKcHeI24KorqMDoVX+gWsMGLulQMfOwsUaPtkpQM2pFERTzSfSg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/2.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VP10syWV/vxYYMKgZ2eDESmUsz3gPxvBn5J6tkVN8lI4M+dF43RN8fWsEPbcAneDmZrHl3Pv23z05nmyGkJlpg==",
"path": "microsoft.extensions.logging/2.0.0",
"hashPath": "microsoft.extensions.logging.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6ZCllUYGFukkymSTx3Yr0G/ajRxoNJp7/FqSxSB4fGISST54ifBhgu4Nc0ItGi3i6DqwuNd8SUyObmiC++AO2Q==",
"path": "microsoft.extensions.logging.abstractions/2.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sAKBgjl2gWsECBLLR9K54T7/uZaP2n9GhMYHay/oOLfvpvX0+iNAlQ2NJgVE352C9Fs5CDV3VbNTK8T2aNKQFA==",
"path": "microsoft.extensions.options/2.0.0",
"hashPath": "microsoft.extensions.options.2.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/2.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ukg53qNlqTrK38WA30b5qhw0GD7y3jdI9PHHASjdKyTcBHTevFM2o23tyk3pWCgAV27Bbkm+CPQ2zUe1ZOuYSA==",
"path": "microsoft.extensions.primitives/2.0.0",
"hashPath": "microsoft.extensions.primitives.2.0.0.nupkg.sha512"
},
"Serilog/2.12.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xaiJLIdu6rYMKfQMYUZgTy8YK7SMZjB4Yk50C/u//Z4OsvxkUfSPJy4nknfvwAC34yr13q7kcyh4grbwhSxyZg==",
"path": "serilog/2.12.0",
"hashPath": "serilog.2.12.0.nupkg.sha512"
},
"Serilog.Enrichers.Environment/2.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-DMrj3A4l65kc4JouQyZjjFv7N58Y7lGsB81kSzorTwUGeI2wrTy7CVwSOfG90/Pcu/HV5bwGrUmxDZ38pON+5Q==",
"path": "serilog.enrichers.environment/2.2.0",
"hashPath": "serilog.enrichers.environment.2.2.0.nupkg.sha512"
},
"Serilog.Enrichers.Thread/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-85lWsGRJpRxvKT6j/H67no55SUBsBIvp556TKuBTGhjtoPeq+L7j/sDWbgAtvT0p7u7/phJyX6j35PQ4Vtqw0g==",
"path": "serilog.enrichers.thread/3.1.0",
"hashPath": "serilog.enrichers.thread.3.1.0.nupkg.sha512"
},
"Serilog.Extensions.Logging/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-IWfem7wfrFbB3iw1OikqPFNPEzfayvDuN4WP7Ue1AVFskalMByeWk3QbtUXQR34SBkv1EbZ3AySHda/ErDgpcg==",
"path": "serilog.extensions.logging/3.1.0",
"hashPath": "serilog.extensions.logging.3.1.0.nupkg.sha512"
},
"Serilog.Sinks.File/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-uwV5hdhWPwUH1szhO8PJpFiahqXmzPzJT/sOijH/kFgUx+cyoDTMM8MHD0adw9+Iem6itoibbUXHYslzXsLEAg==",
"path": "serilog.sinks.file/5.0.0",
"hashPath": "serilog.sinks.file.5.0.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9dLLuBxr5GNmOfl2jSMcsHuteEg32BEfUotmmUkmZjpR3RpVHE8YQwt0ow3p6prwA1ME8WqDVZqrr8z6H8G+Kw==",
"path": "system.runtime.compilerservices.unsafe/4.4.0",
"hashPath": "system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,24 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"includedFrameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.16"
}
],
"configProperties": {
"Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
"System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Resources.ResourceManager.AllowCustomResourceTypes": false,
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
"System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
"System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.StartupHookProvider.IsSupported": false,
"System.Threading.Thread.EnableAutoreleasePool": false,
"System.Text.Encoding.EnableUnsafeUTF7Encoding": false
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More