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
I couldn't find proxy support. I don't always have a Windows machine that I can put in the right position for running powershell, it would be nice if I could proxy my web requests through a machine in the right location.
The text was updated successfully, but these errors were encountered:
mubix
changed the title
Proxy support
Feature Request - Proxy support
Jul 18, 2018
PS /root/powershell/MailSniper> Invoke-DomainHarvestOWA
cmdlet Invoke-DomainHarvestOWA at command pipeline position 1
Supply values for the following parameters:
ExchHostname: blah
[*] Harvesting domain name from the server at blah
Exception calling "CompileAssemblyFromSource" with "2" argument(s): "Operation is not supported on this platform."
At /root/powershell/MailSniper/MailSniper.ps1:2111 char:5
+ $TAResults=$Provider.CompileAssemblyFromSource($Params,$TASource)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : PlatformNotSupportedException
You cannot call a method on a null-valued expression.
At /root/powershell/MailSniper/MailSniper.ps1:2115 char:5
+ $TrustAll=$TAAssembly.CreateInstance("Local.ToolkitExtensions.Net ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
The property 'CertificatePolicy' cannot be found on this object. Verify that the property exists and can be set.
At /root/powershell/MailSniper/MailSniper.ps1:2116 char:5
+ [System.Net.ServicePointManager]::CertificatePolicy=$TrustAll
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
[*] Couldn't get domain from Autodiscover URL. Trying EWS URL...
[*] Couldn't get domain from EWS. Try the timing attack by specifying a list of possible domains and use the -brute option.
Here is an example: Invoke-DomainHarvestOWA -ExchHostname (blah) -DomainList .\domainlist.txt -OutFile potentially-valid-domains.txt -Brute
I couldn't find proxy support. I don't always have a Windows machine that I can put in the right position for running powershell, it would be nice if I could proxy my web requests through a machine in the right location.
The text was updated successfully, but these errors were encountered: