From 7cf593ae3381d079d048555958174801e5becc2e Mon Sep 17 00:00:00 2001 From: HackcraftLabs Date: Tue, 31 Oct 2023 12:23:25 +0200 Subject: [PATCH] [BUG] Resolved issue #2 As mentioned by @AnubisSec in Issue #2, there was an error in the argument parsing and verification, preventing the execution of SharpShares when no target list is provided. This should now be fixed and working as expected. --- SharpShares/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SharpShares/Program.cs b/SharpShares/Program.cs index 1cd64d5..1911bd0 100644 --- a/SharpShares/Program.cs +++ b/SharpShares/Program.cs @@ -18,7 +18,7 @@ static void Main(string[] args) bool success = Utilities.Options.PrintOptions(arguments); if (success) { - if (arguments.targets.Count > 0) + if (arguments.targets != null) { System.Console.WriteLine("[*] Target list provided"); hosts = arguments.targets;