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

Getting errors when enumerating domain trusts #10

Open
sohelahmed786 opened this issue Aug 4, 2023 · 0 comments
Open

Getting errors when enumerating domain trusts #10

sohelahmed786 opened this issue Aug 4, 2023 · 0 comments

Comments

@sohelahmed786
Copy link

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)'

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

1 participant