You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the line below, the program is doing a check against the "targets" option, which is init to null. This type of comparison can't be done with a variable that is null.
Just a heads up that this breaks execution flow when not providing a target list. Should do something like if (arguments.targets.Count != null) or whatever else seems appropriate.
P.S, Love the fork!
The text was updated successfully, but these errors were encountered:
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.
@AnubisSec Thank you for reporting this issue and for supporting the fork! In case you verify if this works as expected, please let us know! Thanks! :)
In the line below, the program is doing a check against the "targets" option, which is init to
null
. This type of comparison can't be done with a variable that isnull
.https://github.com/Hackcraft-Labs/SharpShares/blob/9ddfb3bd1af6387daca81c9fd7118df876dd2103/SharpShares/Program.cs#L21C47-L21C47
Just a heads up that this breaks execution flow when not providing a target list. Should do something like
if (arguments.targets.Count != null)
or whatever else seems appropriate.P.S, Love the fork!
The text was updated successfully, but these errors were encountered: