A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sromku/adb-export below:

sromku/adb-export: Bash script to export android content providers data to csv

Bash script that exports content provider's data to raw and CSV format. It can be your own content provider or any other content provider that isn't blocked with permissions.

First, clone the repository using git:

git clone https://github.com/snatik/adb-export/

or download the script manually using this command:

curl "https://raw.githubusercontent.com/snatik/adb-export/master/adb-export.sh" -o adb-export.sh

Then give the execution permission to the script and run it:

$ chmod +x adb-export.sh
$ ./adb-export.sh

Enable Developer options on the device

Example:

./adb-export.sh -e content://com.your.app/images

Example:

./adb-export.sh -e content://com.android.calendar/calendars

The exported data will be in a new created folders with timestamps in the same root folder this script is located. You will find two new created files:

There is a list of some android content providers that don't block the adb query. My expectation was that it wouldn't be possible because of lack of provider permissions. Just to be on the safe side, I opened a security vulnarability issue to Security Google Team and got few replies where the last one says that this is not a security hole.

Just an example:

Android content providers URIs 🔓

If you discover some new that work, add them here

the external in the uri, you can also change to internal

If you have successfully tested this script on others systems or platforms please let me know or update this list.

Apache License 2.0

See LICENSE for details.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4