Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Unhandled exception when DNS info not found #88

Open
RetardedParrot opened this issue Dec 5, 2019 · 0 comments
Open

Unhandled exception when DNS info not found #88

RetardedParrot opened this issue Dec 5, 2019 · 0 comments

Comments

@RetardedParrot
Copy link

.\SharpHound.exe :
At line:1 char:1

  • .\SharpHound.exe --SearchForest --Threads 20 --StatusInterval 6000 -c ...
  •   + CategoryInfo          : NotSpecified: (:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

Unhandled Exception:

System.AggregateException: AggregateException_ctor_DefaultMessage ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unable to obtain DNS
hostname of Active Directory domain controller with #### object name "CN=###
Settings,CN=########,CN=Servers,CN=######,CN=Sites,CN=Configuration,DC=#####,DC=com".
at System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext context, String partitionName, String siteName, Boolean isDefaultNC, Boolean
isADAM, Boolean isGC)
at System.DirectoryServices.ActiveDirectory.DomainController.FindAllInternal(DirectoryContext context, String domainName, Boolean isDnsDomainName, String siteName)
at System.DirectoryServices.ActiveDirectory.Domain.get_DomainControllers()
at Sharphound2.Utils.GetUsableDomainController(Domain domain)
at Sharphound2.Enumeration.TrustHelpers.DoTrustEnumeration(ResolvedEntry resolved, Domain& obj)
at Sharphound2.Enumeration.EnumerationRunner.<>c__DisplayClass22_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout)
at System.Threading.Tasks.Task.WaitAll(Task[] tasks)
at Sharphound2.Enumeration.EnumerationRunner.StartEnumeration()
at Sharphound2.Sharphound.Main(String[] args)
---> (Inner Exception #0) System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unable to obtain DNS hostname of Active Directory domain
controller with #### object name "CN=### Settings,CN=#######,CN=Servers,CN=#####,CN=Sites,CN=Configuration,DC=#####,DC=com".
at System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext context, String partitionName, String siteName, Boolean isDefaultNC, Boolean
isADAM, Boolean isGC)
at System.DirectoryServices.ActiveDirectory.DomainController.FindAllInternal(DirectoryContext context, String domainName, Boolean isDnsDomainName, String siteName)
at System.DirectoryServices.ActiveDirectory.Domain.get_DomainControllers()
at Sharphound2.Utils.GetUsableDomainController(Domain domain)
at Sharphound2.Enumeration.TrustHelpers.DoTrustEnumeration(ResolvedEntry resolved, Domain& obj)
at Sharphound2.Enumeration.EnumerationRunner.<>c__DisplayClass22_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---

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

No branches or pull requests

1 participant