Closed ngkogkos closed 1 month ago
@leonjza can I +1 this enhancement? Looking at the source, modifying _download_android
and _download_ios
to call _ls_android
/_ls_ios
(respectively), and determine if there's a file to be downloaded (or an entire folder) shouldn't be that difficult.
If it's something you'd like me to do a PR for, let me know.
@leonjza this is something I'd like to take on, can you assign this to me? Just wanting to make sure you're okay with this being implemented.
Current thoughts are:
_ls_android
/_ls_ios
to externalize the actual logic calling the API into separate functions_download_folder_android
/_download_folder_ios
functions which recurse through the respective _ls
API commands from above and grab a list of files and directories - directories are passed back in to above _ls
commands, and files are passed to _download_android
and _download_ios
download_folder
method, similar to download
method that forwards to the OS-specific replacementfile download
-related code to folder download
)download
/_download
methods to download_file
/_download_file
to clearly show difference between file/folder downloads.Hey, sounds awesome and thank you for taking the time! 🙌
I was wondering about this one, and also had some thoughts about it:
/
or /*
(or maybe even just automatically determine the target is a path irrespective)?As for extracting the _ls_*
commands, I agree with your suggestion and think it makes sense to extract them to be easily used internally.
+1 for this feature, without this checking for data leaks is a mess with objection currently.
Much easier to: 1) download all files + 2) grep for leak on everything
Could this be given more priority please?
+1 for this feature. Is it in development yet? Do you guys need any help /contribution?
Added in https://github.com/sensepost/objection/commit/5f22e0acf7dd8fb9d3c1610629339e4fd422557d, although was an accidental commit (sry Leon). @adayrodri should be able to use this now.
Hi,
First of all, good job on objection.
As per title, it should be trivial to implement a recursive file download functionality or something like
folder download
which would help for quicker local analysis of files, such as opening all plist files together, grepping against all of them and so on.