- Tempat Nongkrong Para GIRILAYA mania -


You are not connected. Please login or register

Topik sebelumnya Topik selanjutnya Go down  Message [Halaman 1 dari 1]

1eXploit Windows "getUsers" Function Empty eXploit Windows "getUsers" Function Fri 22 Mar 2013, 12:21

girilayabot

girilayabot
Spammer
Spammer
Excerpt from the getUsers Function
Code:

  var connection, command, recordSet, userList, distinguishedName,
    pwdExpires, user;

// ------- BEGIN CALLOUT A -------
  connection = new ActiveXObject("ADODB.Connection");
  connection.Open("Provider=ADSDSOObject;");
  command = new ActiveXObject("ADODB.Command");

  command.ActiveConnection = connection;
  command.Properties("Cache results") = false;
  command.Properties("Timeout") = 60;
// ------- END CALLOUT A -------

// ------- BEGIN CALLOUT B -------
  command.CommandText = "<LDAP://" + baseDN + ">;"
    + "(&(objectCategory=person)(objectClass=user)(mail=*)"
    + "(!(userAccountControl:1.2.840.113556.1.4.803:=2))"
    + "(!(userAccountControl:1.2.840.113556.1.4.803:=65536)))"
    + ";distinguishedName,sAMAccountName,givenName,sn,mail;"
    + (recurse ? "subtree" : "onelevel");

  recordSet = command.Execute();
// ------- END CALLOUT B -------
Twisted Evil

Topik sebelumnya Topik selanjutnya Kembali Ke Atas  Message [Halaman 1 dari 1]

Permissions in this forum:
Anda tidak dapat menjawab topik

Ping your blog, website, or RSS feed for Free
ping fast  my blog, website, or RSS feed for Free

 

pagerank analyzerW3 Directory - the World Wide Web Directory

© 2014 Copyright Girilaya Real Groups - All Rights Reserved | Back to Top