We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75441cd commit 8e980a7Copy full SHA for 8e980a7
fat.py
@@ -42,13 +42,15 @@ def run_extractor(firm_name):
42
43
extractor_cmd = os.path.join(firmadyne_path, "sources/extractor/extractor.py")
44
extractor_args = [
45
+ "--",
46
+ extractor_cmd,
47
"-np",
48
"-nk",
49
firm_name,
50
os.path.join(firmadyne_path, "images")
51
]
-
- child = pexpect.spawn(extractor_cmd, extractor_args, timeout=None)
52
+ child = pexpect.spawn("sudo", extractor_args, timeout=None)
53
+ child.sendline(sudo_pass)
54
child.expect_exact("Tag: ")
55
tag = child.readline().strip().decode("utf8")
56
child.expect_exact(pexpect.EOF)
0 commit comments