Skip to content

Commit

Permalink
[BUG] Resolved issue #2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
HackcraftLabs committed Oct 31, 2023
1 parent 9ddfb3b commit 7cf593a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SharpShares/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7cf593a

Please sign in to comment.