Skip to content

Getting errors when enumerating domain trusts #10

@sohelahmed786

Description

@sohelahmed786

sliver (ANNOYED_DIPLOMA) > sharpview get-domaintrust

[*] sharpview output:
get-domain
[Get-DomainSearcher] search base: LDAP://dmzdc01.edge.com/DC=edge,DC=com
get-domain
[Get-DomainSearcher] search base: LDAP://dmzdc01.edge.com/DC=edge,DC=com
[Get-DomainComputer] Using additional LDAP filter: (userAccountControl:1.2.840.113556.1.4.803:=8192)
[Get-DomainComputer] Get-DomainComputer filter string: (&(samAccountType=805306369)(userAccountControl:1.2.840.113556.1.4.803:=8192))
An error occurred: 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
at SharpView.PowerView.Get_DomainTrust(Args_Get_DomainTrust args)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at SharpView.Program.Run(String[] args)
at SharpView.Program.Main(String[] args)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions