dafthack / dafthack/MailSniper
You cannot call a method on a null-valued expression. (Invoke-PasswordSprayOWA)
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 3.3k
- Forks
- 597
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 1
Description
when i do this command : ( Invoke-PasswordSprayOWA -ExchHostname mail.**.com -Domain *** -UserList .\user
s.txt -Password ** )
return :
[] Now spraying the OWA portal at https://mail.****.com/owa/
[] Current date and time: 10/24/2017 23:36:44
You cannot call a method on a null-valued expression.
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
+ PSComputerName : localhost
You cannot call a method on a null-valued expression.
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
+ PSComputerName : localhost
You cannot call a method on a null-valued expression.
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
+ PSComputerName : localhost
You cannot call a method on a null-valued expression.
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
+ PSComputerName : localhost
You cannot call a method on a null-valued expression.
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
+ PSComputerName : localhost
what should i do to resolve this issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Invoke-PasswordSprayOWA with the reported Exchange hostname, domain, and user list parameters. Trace the function's request and response handling to identify which value is null when the method is called. Done means the command handles this response without InvokeMethodOnNull errors and reports the authentication result appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100