Scripting

FindTheHole.vbs

By Howard | Published August 11th, 2008

Recently I needed to write a script that could locate a folder on a system that had particular characteristics.  I was looking for hidden folders that the logged on user had rights to read, write/append and execute on.  ie, they can drop a binary into the folder and then run it. This is the script…

LDAP Query based on account SID in VBscript

By Howard | Published January 9th, 2008

This is a bit of code I wish I’d found sooner. There is a – it seems mostly undocumented – feature of the ldap provider in Server 2003 that allows you to form an ldap query just on the SID of an account: bindSid = "LDAP://<sid =" & SID & ">" set oVal = GetObject(bindSid)…

Categories