Skip to main content

Finds content providers/resolvers on Android devices

Some things you have to know:

  • You might need root access 

  • I have only tested it against BlueStacks / Windows 10 / Python 3.9.

$pip install fetch-content-providers-and-resolvers





from fetch_content_providers_and_resolvers import ContentProviderResolverFetcher

adb_path = "C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe"

deviceserial = "localhost:5875"

cpr = ContentProviderResolverFetcher(

    adb_path=adb_path,

    deviceserial=deviceserial,

    folder="data/",  # As far as I know, this folder exists on any Android device, so you don't have to change anything

    folder_for_temp_files=r"F:\ctestprov",  # Folder to store the temp dex files

    ripgrep_path="rg.exe",  # Download RipGrep https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-pc-windows-gnu.zip

)

cpr.connect_to_adb()

cpr.get_all_files()  # Find all dex files / If you want to limit the packages to scan, you can modify cpr.df

cpr.pull_files()  # Copy the files to the hard drive

cpr.extract_content_providers()

cpr.check_results(

    exit_keys="ctrl+x", print_output=True, timeout=None,

)  # If you press ctrl+x you can kill a query which got stuck, you can also set a timeout for each query

df = cpr.get_all_results_checked()  # returns checked results

df1 = cpr.get_all_results()  # returns unchecked results

Metadata

Release files for fetch-content-providers-and-resolvers 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fetch-content-providers-and-resolvers 0.10
File Size Uploaded Provenance Actions
fetch_content_providers_and_resolvers-0.10.tar.gz 5.5 kB Without provenance Details for fetch_content_providers_and_resolvers-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fetch-content-providers-and-resolvers 0.10
File Interpreter ABI Platform Actions
fetch_content_providers_and_resolvers-0.10-py3-none-any.whl Python 3 none any Details for fetch_content_providers_and_resolvers-0.10-py3-none-any.whl

Total release size: 13.2 kB

Release files / fetch_content_providers_and_resolvers-0.10.tar.gz

Download URL fetch_content_providers_and_resolvers-0.10.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cb0f259a310e0327e6224df936391de82dc537c79463f5bef956ff446ae2ea92
BLAKE2b-256 checksum
How to use checksums
6281e5ec3d0330f4fa8b863e8bdf012938dd597eb8c9104f98aa754140b3ca3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / fetch_content_providers_and_resolvers-0.10-py3-none-any.whl

Download URL fetch_content_providers_and_resolvers-0.10-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e71c7b22b3ee9da9d205f0383e6f4ac24b82cd6b2d5e1a33eb71d02a4ebb653e
BLAKE2b-256 checksum
How to use checksums
c91e6a5c8427e5257f3fd28925c33c1a26cbccac64431894e14ca8fffe4720a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for fetch-content-providers-and-resolvers 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page