Results 38 comments of TheWover

@Dewera Thanks! I will take a look at this along with the Import Table issue.

@Dewera What DLL would you recommend for testing this edge case? Something that I can load and generate the failure you mentioned.

This has (finally) been fixed in the separate DInvoke repo for the NuGet. It will eventually be merged back into SharpSploit. https://github.com/TheWover/DInvoke/commit/af9f86984a2ce329cb44a97459592f0b191fe252

Sure: ``` StandIn.exe --object (&(objectCategory=*)(objectClass=pKICertificateTemplate)(cn=User)) --path LDAP://CN=Configuration,DC=test,DC=domain,DC=com --access [?] Using DC : ca.test.domain.com [?] Object : CN=User Path : LDAP://CN=User,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,DC=test,DC=domain,DC=com [+] Object properties |_ Owner : TEST\Enterprise...

I'm not familiar enough with all of the other operation to know if it makes sense for all of them to support this parameter, but let me know if you...

Thanks for the issue. Will test and see if I can reproduce.

For what it's worth, I'm having a similar problem. Using the `dev` branch and the same .NET Assembly (DemoCreateProcess), generating shellcode on Windows works fine while shellcode generated on Linux...

Maybe we would event want to hook LoadLibrary in the PE module so that it performs this logic too when dynamically loading modules?

An option to manually map those dependencies may also be nice. Definitely not something everyone would want, but would ensure you get 0 new modload events as a result of...

Keep in mind that if you never call LoadLibrary the reference count of the module will not be incremented and if FreeLibrary happens to get called on it.