Module Import alias alias alias alias alias alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str FunctionDef arguments args defaults body Assign NameStore ListLoad NameLoad NameLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Str NameLoad Assign NameStore ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot CompareEq NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad NameLoad handlers ExceptHandler body Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Pass Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str Str Str Str Str Str Assign NameStore Call NameLoad NameLoad Return SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Str Index Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str BinOpMod Str TupleLoad NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str Str Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str Str Str BinOpMod Str NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad Str Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body TryExcept body Expr Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad attr attr Return NameLoad handlers ExceptHandler body Expr Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call NameLoad ListLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad ListLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad Call NameLoad ListLoad NameLoad Str BinOpMod Str NameLoad attr Str Index Num attr Str Index Num attr Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad Call AttributeLoad Call NameLoad ListLoad NameLoad BinOpMod Str NameLoad attr Str Index Num attr Assign NameStore Call NameLoad NameLoad Str For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Assign NameStore Num While CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad NameLoad BinOpMod Str NameLoad For NameStore NameLoad body TryExcept body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad ListLoad NameLoad Str NameLoad handlers ExceptHandler body Expr Call NameLoad Str NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad
N/A N/A time subprocess traceback sys os shutil hashlib N/A mkdir /bin/mkdir N/A cat /bin/cat N/A hostname /bin/hostname N/A grep /bin/grep N/A ldapsearch /opt/opendj/bin/ldapsearch N/A unzip /usr/bin/unzip N/A find /usr/bin/find N/A mkdir /bin/mkdir N/A oxauth_war /opt/tomcat/webapps/oxauth.war N/A oxtrust_war /opt/tomcat/webapps/identity.war N/A oxauth_original_dir /tmp/oxauth-original N/A oxtrust_original_dir /tmp/oxtrust-original N/A oxauth_modified_dir /opt/tomcat/webapps/oxauth N/A oxtrust_modified_dir /opt/tomcat/webapps/identity N/A log ./export23.log N/A logError ./export23.error N/A bu_folder ./backup23 N/A password_file /root/.pw N/A propertiesFn N/A %s/setup.properties bu_folder N/A folders_to_backup N/A /opt/tomcat/conf /opt/tomcat/endorsed /opt/opendj/config /etc/certs /etc/pki/java /opt/idp/conf /opt/idp/metadata N/A defaultJavaTrustStore /usr/java/latest/lib/security/cacerts N/A ldap_creds N/A -h localhost -p 1389 -D "cn=directory manager" -j password_file N/A base_dns N/A ou=people ou=groups ou=attributes ou=scopes ou=clients ou=scripts ou=uma ou=hosts ou=u2f backupCustomizations N/A N/A N/A N/A N/A dirs N/A oxauth_original_dir oxtrust_original_dir N/A dir dirs N/A N/A N/A N/A N/A N/A os path exists dir N/A N/A N/A N/A os mkdir dir N/A output N/A getOutput N/A unzip oxauth_war -d oxauth_original_dir N/A output N/A getOutput N/A unzip oxtrust_war -d oxtrust_original_dir N/A dirs N/A N/A oxauth_modified_dir oxauth_original_dir N/A oxtrust_modified_dir oxtrust_original_dir N/A dir_tup dirs N/A N/A modified_dir N/A dir_tup N/A 0 N/A original_dir N/A dir_tup N/A 1 N/A files N/A getOutput N/A find modified_dir True N/A modified_file files N/A N/A modified_file N/A N/A modified_file strip N/A original_file N/A N/A modified_file replace modified_dir original_dir N/A N/A N/A N/A N/A os path isdir modified_file N/A N/A N/A N/A N/A N/A os path exists original_file N/A N/A N/A logIt N/A Found new file: %s modified_file N/A N/A copyFile modified_file bu_folder N/A N/A modified_hash N/A hash_file modified_file N/A original_hash N/A hash_file original_file N/A N/A N/A modified_hash original_hash N/A N/A N/A logIt N/A Found changed file: %s modified_file N/A N/A copyFile modified_file bu_folder N/A N/A N/A shutil rmtree oxauth_original_dir N/A N/A N/A shutil rmtree oxtrust_original_dir N/A backupFiles N/A N/A N/A N/A N/A folder folders_to_backup N/A N/A N/A N/A N/A N/A shutil copytree folder N/A bu_folder folder N/A N/A N/A N/A N/A logIt N/A Failed to backup %s folder N/A backupTrustStores N/A N/A N/A N/A N/A N/A N/A copyFile defaultJavaTrustStore N/A %s/%s N/A bu_folder N/A N/A N/A N/A os path split defaultJavaTrustStore N/A 0 N/A N/A N/A N/A os path exists /etc/pki/java N/A N/A files N/A getOutput N/A find /etc/pki/java True N/A file N/A files N/A 1 N/A N/A file N/A N/A file strip N/A N/A copyFile file N/A %s/etc/ssh/certs/java bu_folder N/A clean N/A N/A s N/A N/A N/A N/A N/A N/A N/A N/A N/A s replace @ replace ! replace . N/A copyFile N/A N/A fn dir N/A N/A N/A parent_Dir N/A N/A N/A N/A os path split fn N/A 0 N/A bu_dir N/A %s/%s N/A bu_folder parent_Dir N/A N/A N/A N/A N/A os path exists bu_dir N/A N/A output N/A getOutput N/A mkdir -p bu_dir N/A bu_fn N/A N/A N/A os path join bu_dir N/A N/A N/A N/A os path split fn N/A -1 N/A N/A N/A shutil copyfile fn bu_fn N/A getOrgInum N/A N/A N/A N/A N/A args N/A N/A N/A ldapsearch ldap_creds N/A -s one -b o=gluu o=* dn N/A output N/A getOutput args N/A N/A N/A N/A N/A N/A N/A output split , N/A 0 split o= N/A -1 N/A getLdif N/A N/A N/A N/A N/A orgInum N/A getOrgInum N/A basedn base_dns N/A N/A args N/A N/A N/A ldapsearch ldap_creds N/A -b N/A %s,o=%s,o=gluu N/A basedn orgInum objectclass=* N/A output N/A getOutput args N/A ou N/A N/A N/A basedn split = N/A -1 N/A f N/A open N/A %s/ldif/%s.ldif N/A bu_folder ou w N/A N/A N/A f write output N/A N/A N/A f close N/A args N/A N/A N/A ldapsearch ldap_creds N/A -b ou=appliances,o=gluu -s one objectclass=* N/A output N/A getOutput args N/A f N/A open N/A %s/ldif/appliance.ldif bu_folder w N/A N/A N/A f write output N/A N/A N/A f close N/A args N/A N/A N/A ldapsearch ldap_creds N/A -b ou=appliances,o=gluu objectclass=oxTrustConfiguration N/A output N/A getOutput args N/A f N/A open N/A %s/ldif/oxtrust_config.ldif bu_folder w N/A N/A N/A f write output N/A N/A N/A f close N/A args N/A N/A N/A ldapsearch ldap_creds N/A -b ou=appliances,o=gluu objectclass=oxAuthConfiguration N/A output N/A getOutput args N/A f N/A open N/A %s/ldif/oxauth_config.ldif bu_folder w N/A N/A N/A f write output N/A N/A N/A f close N/A args N/A N/A N/A ldapsearch ldap_creds N/A -b ou=appliances,o=gluu objectclass=gluuSAMLconfig N/A output N/A getOutput args N/A f N/A open N/A %s/ldif/trust_relationships.ldif bu_folder w N/A N/A N/A f write output N/A N/A N/A f close N/A args N/A N/A N/A ldapsearch ldap_creds N/A -s base -b N/A o=%s,o=gluu orgInum objectclass=* N/A output N/A getOutput args N/A f N/A open N/A %s/ldif/organization.ldif bu_folder w N/A N/A N/A f write output N/A N/A N/A f close N/A args N/A N/A N/A ldapsearch ldap_creds N/A -b o=site objectclass=* N/A output N/A getOutput args N/A f N/A open N/A %s/ldif/site.ldif bu_folder w N/A N/A N/A f write output N/A N/A N/A f close N/A getOutput N/A N/A args return_list N/A False N/A N/A N/A N/A N/A logIt N/A Running command : %s N/A N/A join args N/A output None N/A return_list N/A N/A output N/A N/A N/A N/A os popen N/A N/A join args readlines N/A N/A output N/A N/A N/A N/A N/A N/A os popen N/A N/A join args read strip N/A output N/A N/A N/A N/A N/A logIt N/A Error running command : %s N/A N/A join args True N/A N/A logIt N/A N/A traceback format_exc True N/A N/A N/A sys exit 1 N/A genProperties N/A N/A N/A N/A N/A props N/A N/A N/A props N/A ldapPass N/A getOutput N/A cat password_file N/A N/A props N/A hostname N/A getOutput N/A hostname N/A N/A props N/A inumAppliance N/A N/A N/A N/A N/A N/A N/A N/A N/A getOutput N/A grep ^inum N/A %s/ldif/appliance.ldif bu_folder split N/A 0 split : N/A -1 strip N/A N/A props N/A inumApplianceFN N/A clean N/A props N/A inumAppliance N/A N/A props N/A inumOrg N/A getOrgInum N/A N/A props N/A inumOrgFN N/A clean N/A props N/A inumOrg N/A N/A props N/A baseInum N/A N/A props N/A inumOrg N/A 21 N/A N/A props N/A encode_salt N/A N/A N/A N/A N/A N/A getOutput N/A cat N/A %s/opt/tomcat/conf/salt bu_folder split = N/A -1 strip N/A f N/A open propertiesFn a N/A key N/A N/A props keys N/A N/A N/A N/A f write N/A %s=%s
 N/A key N/A props N/A key N/A N/A N/A f close N/A hash_file N/A N/A filename N/A N/A N/A h N/A N/A hashlib sha1 N/A N/A open filename rb file N/A N/A chunk 0 N/A N/A chunk N/A N/A chunk N/A N/A file read 1024 N/A N/A N/A h update chunk N/A N/A N/A h hexdigest N/A logIt N/A N/A msg errorLog N/A False N/A N/A errorLog N/A N/A f N/A open logError a N/A N/A N/A f write N/A %s %s
 N/A N/A N/A time strftime %X %x msg N/A N/A N/A f close N/A f N/A open log a N/A N/A N/A f write N/A %s %s
 N/A N/A N/A time strftime %X %x msg N/A N/A N/A f close N/A makeFolders N/A N/A N/A N/A N/A folders N/A bu_folder N/A %s/ldif bu_folder N/A folder folders N/A N/A N/A N/A N/A N/A N/A N/A os path exists folder N/A N/A output N/A getOutput N/A mkdir -p folder N/A N/A N/A N/A N/A logIt Error making folders True N/A N/A logIt N/A N/A traceback format_exc True N/A N/A N/A sys exit 3 N/A N/A N/A makeFolders N/A N/A backupFiles N/A N/A getLdif N/A N/A genProperties N/A N/A backupCustomizations N/A N/A backupTrustStores