From e9f63fed0b3664cf0064ae453a3fa50914968516 Mon Sep 17 00:00:00 2001 From: InfamousSYN Date: Tue, 11 Nov 2025 11:29:07 +1100 Subject: [PATCH 1/2] Making class and main function public to enable reflective assembly loading --- Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index 741680e..ce56587 100644 --- a/Program.cs +++ b/Program.cs @@ -7,13 +7,13 @@ using static SweetPotato.ImpersonationToken; namespace SweetPotato { - class Program { + public class Program { static void PrintHelp(OptionSet options) { options.WriteOptionDescriptions(Console.Out); } - static void Main(string[] args) { + public static void Main(string[] args) { string clsId = "4991D34B-80A1-4291-83B6-3328366B9097"; ushort port = 6666; @@ -141,3 +141,4 @@ static void Main(string[] args) { } } } + From eaa39417ee9f1a686b65877acd5348757956e7da Mon Sep 17 00:00:00 2001 From: InfamousSYN Date: Tue, 11 Nov 2025 11:29:59 +1100 Subject: [PATCH 2/2] Added empty defintion for dependency building --- SweetPotato.csproj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SweetPotato.csproj b/SweetPotato.csproj index 88bf0e1..941c5f1 100644 --- a/SweetPotato.csproj +++ b/SweetPotato.csproj @@ -104,6 +104,9 @@ + + + @@ -111,4 +114,5 @@ - \ No newline at end of file + +