Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
binwalk
Commits
9db3bb99
Commit
9db3bb99
authored
9 years ago
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed directory recursion default setting.
parent
7a8058d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
extractor.py
src/binwalk/modules/extractor.py
+1
-3
No files found.
src/binwalk/modules/extractor.py
View file @
9db3bb99
...
@@ -136,8 +136,6 @@ class Extractor(Module):
...
@@ -136,8 +136,6 @@ class Extractor(Module):
# Holds a dictionary of the last directory listing for a given directory; used for identifying
# Holds a dictionary of the last directory listing for a given directory; used for identifying
# newly created/extracted files that need to be appended to self.pending.
# newly created/extracted files that need to be appended to self.pending.
self
.
last_directory_listing
=
{}
self
.
last_directory_listing
=
{}
# Reset the base output directory
#self.directory = None
def
callback
(
self
,
r
):
def
callback
(
self
,
r
):
# Make sure the file attribute is set to a compatible instance of binwalk.core.common.BlockFile
# Make sure the file attribute is set to a compatible instance of binwalk.core.common.BlockFile
...
@@ -419,7 +417,7 @@ class Extractor(Module):
...
@@ -419,7 +417,7 @@ class Extractor(Module):
rules
=
self
.
match
(
description
)
rules
=
self
.
match
(
description
)
file_path
=
os
.
path
.
realpath
(
file_name
)
file_path
=
os
.
path
.
realpath
(
file_name
)
# Don't recurse by default; any successful extraction rule will override this.
# Don't recurse by default; any successful extraction rule will override this.
recurse
=
Tru
e
recurse
=
Fals
e
# No extraction rules for this file
# No extraction rules for this file
if
not
rules
:
if
not
rules
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment