From f5759f170b3bea52c74a50151b0658a9a9b34e69 Mon Sep 17 00:00:00 2001 From: "pixeebot[bot]" <104101892+pixeebot[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 20:23:14 +0000 Subject: [PATCH] Sandbox Process Creation --- NXDump/host/install_deps.py | 3 ++- NXDump/host/requirements.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NXDump/host/install_deps.py b/NXDump/host/install_deps.py index 12e9d59..bc1a577 100644 --- a/NXDump/host/install_deps.py +++ b/NXDump/host/install_deps.py @@ -8,10 +8,11 @@ from os.path import dirname, join from sys import executable from platform import system +from security import safe_command root_dir = dirname(__file__) requirements_file = ('requirements-win32.txt' if system() == 'Windows' else 'requirements.txt') -run([executable, '-m', 'pip', 'install', '-r', join(root_dir, requirements_file)]) +safe_command.run(run, [executable, '-m', 'pip', 'install', '-r', join(root_dir, requirements_file)]) input('Press enter to close') diff --git a/NXDump/host/requirements.txt b/NXDump/host/requirements.txt index 4b0dbc0..8cd59cd 100644 --- a/NXDump/host/requirements.txt +++ b/NXDump/host/requirements.txt @@ -1,2 +1,3 @@ tqdm>=4.59.0 pyusb>=1.1.1 +security==1.3.1