Exodus-Privacy / exodus-standalone

εxodus CLI client for local analysis
GNU Affero General Public License v3.0
77 stars 13 forks source link

Update README Docker Instructions #54

Closed Devorlon closed 3 weeks ago

Devorlon commented 7 months ago

The command to use docker in the readme just gives me the error:

Current Command Output
> docker run -v $(pwd) --rm -i exodusprivacy/exodus-standalone base.apk > Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. > ERROR: apk file should exist > usage: exodus_analyze.py [-h] [-t] [-j] [-o OUTPUT_FILE] [-i IGNORE] [-e CODE] > apk > > positional arguments: > apk the apk file to analyse > > options: > -h, --help show this help message and exit > -t, --text print textual report (default) > -j, --json print JSON report > -o OUTPUT_FILE, --output OUTPUT_FILE > store JSON report in file (requires -j option) > -i IGNORE, --ignore IGNORE > comma-separated ids of trackers to ignore > -e CODE, --exit-code CODE > use the CODE instead of trackers counter as exit code > if trackers was detected

The updated one works.

Command from Docker.io Output
> docker run -v $(pwd)/base.apk:/app.apk --rm -i exodusprivacy/exodus-standalone > Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. > 2024-03-26 14:48:40.627 | INFO | androguard.core.apk:_apk_analysis:312 - Starting analysis on AndroidManifest.xml > 2024-03-26 14:48:40.680 | INFO | androguard.core.apk:_apk_analysis:369 - APK file was successfully validated! > === Information > - APK path: app.apk > - APK sum: 6142c0eeac1d9ee628cba3c6de573ff43ef1102f4cd80a5d2062078b626e8f46 > - App version: 3.15.1.1432 > - App version code: 31511432 > - App UID: 3FBC0230A59EEAC96C65880457240998273C1916 > - App name: My Utilita > - App package: com.utilita.customerapp > - App permissions: 19 > - android.permission.CALL_PHONE > - android.permission.USE_BIOMETRIC > - android.permission.FLASHLIGHT > - com.utilita.customerapp.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION > - android.permission.WAKE_LOCK > - com.google.android.c2dm.permission.RECEIVE > - android.permission.ACCESS_ADSERVICES_ATTRIBUTION > - com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE > - com.google.android.gms.permission.AD_ID > - android.permission.ACCESS_NETWORK_STATE > - android.permission.POST_NOTIFICATIONS > - android.permission.CAMERA > - android.permission.INTERNET > - android.permission.ACCESS_WIFI_STATE > - android.permission.CHANGE_WIFI_STATE > - android.permission.FOREGROUND_SERVICE > - android.permission.ACCESS_ADSERVICES_AD_ID > - android.permission.RECEIVE_BOOT_COMPLETED > - android.permission.USE_FINGERPRINT > - App libraries: > - org.apache.http.legacy > - android.ext.adservices > - androidx.window.extensions > - androidx.window.sidecar > - Certificates: 1 > - Issuer: Common Name: Android, Organizational Unit: Android, Organization: Google Inc., Locality: Mountain View, State/Province: California, Country: US > Subject: Common Name: Android, Organizational Unit: Android, Organization: Google Inc., Locality: Mountain View, State/Province: California, Country: US > Fingerprint: 0d3b431185e1027cc2b6c18f9b0f757466def244 > Serial: 905408310075352084780309284307900638372530392320 > === Found trackers: 2 > - Google CrashLytics > - Google Firebase Analytics
pnu-s commented 7 months ago

Hello @Devorlon and thanks for your PR!

I'm curious because both solutions seem to work for me.

I don't have any issue with your command, but out of curiosity, what does docker --version returns?

codeurimpulsif commented 3 weeks ago

I also can't find any issue. Without any news I close this PR, feel free to reopen it if needed.