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
adb02d2f
Commit
adb02d2f
authored
3 years ago
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed code comment
parent
97a5954b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
extractor.py
src/binwalk/modules/extractor.py
+1
-1
No files found.
src/binwalk/modules/extractor.py
View file @
adb02d2f
...
@@ -990,7 +990,7 @@ class Extractor(Module):
...
@@ -990,7 +990,7 @@ class Extractor(Module):
if
type
(
file_list
)
is
not
list
:
if
type
(
file_list
)
is
not
list
:
file_list
=
[
file_list
]
file_list
=
[
file_list
]
# Sanitize any files in the list that are symlinks outside of the s
elf.directory
extraction directory.
# Sanitize any files in the list that are symlinks outside of the s
pecified
extraction directory.
for
file_name
in
file_list
:
for
file_name
in
file_list
:
if
os
.
path
.
islink
(
file_name
):
if
os
.
path
.
islink
(
file_name
):
linktarget
=
os
.
path
.
realpath
(
file_name
)
linktarget
=
os
.
path
.
realpath
(
file_name
)
...
...
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