aboutsummaryrefslogtreecommitdiff
path: root/support/userinfo/exploit.cs
diff options
context:
space:
mode:
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);
+ }
+}