Skip to content

Commit

Permalink
Merge pull request #657 from onekey-sec/fix-extfs
Browse files Browse the repository at this point in the history
fix(handlers): fix extfs handler for samples with spaces in their names.
  • Loading branch information
qkaiser authored Sep 28, 2023
2 parents b2a1268 + f9fa0ee commit 0048d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unblob/handlers/filesystem/extfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class EXTHandler(StructHandler):

PATTERN_MATCH_OFFSET = -MAGIC_OFFSET

EXTRACTOR = Command("debugfs", "-R", "rdump / {outdir}", "{inpath}")
EXTRACTOR = Command("debugfs", "-R", 'rdump / "{outdir}"', "{inpath}")

def valid_header(self, header) -> bool:
if header.s_state not in [0x1, 0x2]:
Expand Down

0 comments on commit 0048d52

Please sign in to comment.