Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
change restore order to fix exploit w/ daemons
Browse files Browse the repository at this point in the history
  • Loading branch information
leminlimez committed Dec 22, 2024
1 parent f509c67 commit ec55bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sparserestore/restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownCl
# create the files to be backed up
files_list = [
]
sorted_files = sorted(files, key=lambda x: x.restore_path, reverse=True)
sorted_files = sorted(files, key=lambda x: x.restore_path, reverse=False)
# add the file paths
last_domain = ""
last_path = ""
Expand Down

0 comments on commit ec55bc3

Please sign in to comment.