force daemons to use regular domains

This commit is contained in:
leminlimez
2024-12-09 17:57:08 -05:00
parent a8cb2ea29e
commit b6b6e632fb
3 changed files with 11 additions and 11 deletions

View File

@@ -20,9 +20,6 @@ def concat_exploit_file(file: FileToRestore, files_list: list[FileToRestore], la
base_path = "/private/var/mobile/backup"
elif file.restore_path.startswith("/private/var/"):
base_path = "/private/var/backup"
elif file.owner == 0 and file.group == 0:
# restore straight to the file since it won't restore otherwise
base_path = ""
# don't append the directory if it has already been added (restore will fail)
path, name = os.path.split(file.restore_path)
domain_path = f"SysContainerDomain-../../../../../../../..{base_path}{path}/"