diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2022-09-04 05:04:04 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2022-09-04 05:04:04 -0400 |
commit | f914e816092f02a4bbed779ad91a6641e7cc2122 (patch) | |
tree | 1c7dd2f7f2946ac4d80cb6f3147cbd5ec0b2b4af /support/userinfo/exploit.cs | |
parent | 869200611b92f0dee181a89ffb8f3f9123794d43 (diff) |
add rooms
Diffstat (limited to 'support/userinfo/exploit.cs')
-rw-r--r-- | support/userinfo/exploit.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/support/userinfo/exploit.cs b/support/userinfo/exploit.cs new file mode 100644 index 0000000..44da8d1 --- /dev/null +++ b/support/userinfo/exploit.cs @@ -0,0 +1,11 @@ +using System; +using System.DirectoryServices; + +public class main { + public static void Main() { + string password = "nvEfEK16^1aM4$e7AclUf8x$tRWxPWO1%lmz"; + entry = new DirectoryEntry("LDAP://support.htb", "support\\ldap", password); + entry.AuthenticationType = AuthenticationTypes.Secure; + ds = new DirectorySearcher(entry); + } +} |