diff --git a/profile-building/pull_schema.py b/profile-building/pull_schema.py index e81182a..144966b 100644 --- a/profile-building/pull_schema.py +++ b/profile-building/pull_schema.py @@ -212,8 +212,12 @@ def run(directory: str, output_file_prefix: str, uuid: str, auth_key: str, produ print(f"[+] Schema: {response['result']['schema']}") with open(os.path.join(directory, output_file_prefix + "_schema_id.txt"), 'w') as f: f.write(response['result']['schemaId']) + with open(os.path.join(os.path.join(directory, ".."), "schema_id.txt"), 'w') as f: + f.write(response['result']['schemaId']) with open(os.path.join(directory, output_file_prefix + "_schema.txt"), 'w') as f: f.write(response['result']['schema']) + with open(os.path.join(os.path.join(directory, ".."), "schema.txt"), 'w') as f: + f.write(response['result']['schema']) with open(os.path.join(directory, output_file_prefix + "_dev_id.txt"), 'w') as f: f.write(response['result']['devId']) with open(os.path.join(directory, output_file_prefix + "_sec_key.txt"), 'w') as f: