Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: System.ArgumentOutOfRangeException #5

Open
ronnieflip opened this issue Sep 27, 2019 · 1 comment
Open

Unhandled Exception: System.ArgumentOutOfRangeException #5

ronnieflip opened this issue Sep 27, 2019 · 1 comment

Comments

@ronnieflip
Copy link

ronnieflip commented Sep 27, 2019

Am constantly getting this error:

C:\>SharpSniper.exe bob administrator LwnP123@
SharpSniper.exe bob administrator LwnP123@

Unhandled Exception: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: i
   at System.Text.RegularExpressions.MatchCollection.get_Item(Int32 i)
   at SharpSniper.Program.Main(String[] args))
@HunnicCyber
Copy link
Owner

I believe this is due to the regular expression use to pull the IP address out of the event log returned.

Can you check with event viewer if there is actually an IP there, or if its i ipv6 or similar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants