This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os, sys | |
import urlparse | |
from shutil import copyfileobj | |
from urllib import urlopen, unquote | |
from xml.etree import ElementTree as ET | |
from socket import error as socket_error | |
import socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import errno | |
import os | |
import sys | |
import subprocess | |
#----------------------------------------------------------------------------- | |
def main(): | |
fileNames = sys.argv[1:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Error Resume Next | |
Const ADS_SCOPE_SUBTREE = 2 | |
Dim strTimestamp | |
strTimestamp = "20120901000000.0Z" | |
set objRootDSE = GetObject("LDAP://RootDSE") | |
RootDN = objRootDSE.Get("defaultNamingContext")) | |
Set objConnection = CreateObject("ADODB.Connection") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
######################################################################################## | |
# This script connects to a domain controller and produces an organizational chart. | |
# | |
# It is based on the script at the following page:- | |
# http://thelowedown.wordpress.com/2008/05/27/generate-calltree-from-active-directory/ | |
# | |
# Chris Hills ([email protected]) | |
# 2012/10/19 |
NewerOlder