mirror of
https://github.com/mvt-project/mvt.git
synced 2026-08-27 21:30:39 +02:00
Attempt to fix #268 bug in android files module
This commit is contained in:
@@ -83,6 +83,9 @@ class Files(AndroidExtraction):
|
|||||||
cmd = f"find '{folder}' -type f -printf '%T@ %m %s %u %g %p\n' 2> /dev/null"
|
cmd = f"find '{folder}' -type f -printf '%T@ %m %s %u %g %p\n' 2> /dev/null"
|
||||||
output = self._adb_command(cmd)
|
output = self._adb_command(cmd)
|
||||||
|
|
||||||
|
if output.strip() == "":
|
||||||
|
return
|
||||||
|
|
||||||
for file_line in output.splitlines():
|
for file_line in output.splitlines():
|
||||||
[unix_timestamp, mode, size,
|
[unix_timestamp, mode, size,
|
||||||
owner, group, full_path] = file_line.rstrip().split(" ", 5)
|
owner, group, full_path] = file_line.rstrip().split(" ", 5)
|
||||||
|
|||||||
Reference in New Issue
Block a user