From f914e816092f02a4bbed779ad91a6641e7cc2122 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sun, 4 Sep 2022 05:04:04 -0400 Subject: add rooms --- support/userinfo/exploit.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 support/userinfo/exploit.cs (limited to 'support/userinfo/exploit.cs') 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); + } +} -- cgit v1.2.3