{"id":13844909,"url":"https://github.com/nccgroup/LazyDroid","last_synced_at":"2025-07-12T00:32:22.298Z","repository":{"id":47198176,"uuid":"91585764","full_name":"nccgroup/LazyDroid","owner":"nccgroup","description":"bash script to facilitate some aspects of an Android application assessment","archived":false,"fork":false,"pushed_at":"2021-09-09T20:36:10.000Z","size":14188,"stargazers_count":155,"open_issues_count":2,"forks_count":33,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-20T01:33:32.586Z","etag":null,"topics":["android","bash-script","linux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nccgroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-17T14:30:22.000Z","updated_at":"2024-08-12T19:29:56.000Z","dependencies_parsed_at":"2022-08-27T12:30:14.353Z","dependency_job_id":null,"html_url":"https://github.com/nccgroup/LazyDroid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nccgroup%2FLazyDroid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nccgroup%2FLazyDroid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nccgroup%2FLazyDroid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nccgroup%2FLazyDroid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nccgroup","download_url":"https://codeload.github.com/nccgroup/LazyDroid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225772806,"owners_count":17521894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","bash-script","linux"],"created_at":"2024-08-04T17:03:02.644Z","updated_at":"2024-11-21T17:30:59.050Z","avatar_url":"https://github.com/nccgroup.png","language":"Shell","funding_links":[],"categories":["Shell (473)","Shell"],"sub_categories":[],"readme":"# Lazydroid 0.4 by Dani Martinez (@dan1t0)\n\n![Lazydroid](https://github.com/nccgroup/LazyDroid/blob/master/media/tool.png \"Lazydroid\")\n\nLazydroid is a tool written as a bash script to facilitate some aspects of an Android Assessment. It provides some common tasks such as:\n  - Set the debug flag of an application to true\n  - Set the backup flag of an application to true\n  - Re-Build the application\n  - Re-Sign the application\n  - Smart log extraction of an application\n  - Extract the APK of an application installed from Google Play\n  - Download any mobile folder (/sdcard/, application data folder, other)\n  - Compare two different snapshots of the same folder\n  - Insert Frida gadget in the APK (for example when the phone is not or cannot be rooted, and thus Frida server cannot be run)\n\n### Installation\nLazydroid requires Linux or Mac OS to run and the next tools installed:\n* apktool\n* jarsigner\n* adb\n* aapt (Android Asset Packaging Tool, part of the SDK)\n* your keystore and alias\n* Frida Agent (pip install frida)\n\nTo run lazydroid.sh the steps would be the following:\n\n```sh\n$ git clone\n$ #configure the path to the tools (adb, jarsigner, apktool, etc and your favorite shell)\n$ cd lazydroid\n$ ./getfridalibs.sh #get the last frida libs for Android\n$ ./lazydroid.sh\n```\n\n\n\n### Options\n* Set apk to debuggable=true\n    * Unzip an APK and set the debuggable flag to true.\n* Set apk to allowBackup=true\n    * Unzip an APK and set the allowBackup flag to true (useful to extract the app data folder in non-rooted devices)\n* Sign apk\n    * Captain Obvious to the rescue.\n* Build apk\n    * Captain Obvious to the rescue.\n* Extract app log from Android device\n    * Lazydroid filters the logcat with the application PID\n* Extract apk file to an installed application from Market\n    * Useful to get and analyze an APK.\n* Download installed application data snapshot, /sdcard/ or mobile folder\n    * Lazydroid compares two folders and extract the diff among them in a pretty format.\n* Compare two different snapshots\n    * Lazydroid compares two folders and extract the diff among them in a pretty format to find new files or folders, file modifications or deleted files.\n![Compare two snapshots](https://github.com/nccgroup/LazyDroid/blob/master/media/compare.png \"Compare two snapshots\")\n\n* Insert Frida gadget in the APK\n    * Lazydroid auto-detects the architecture of your device and insert the Frida Agent in the application to facilitate the app instrumentation (useful in non-rooted devices).\n![Demo Frida](https://github.com/nccgroup/LazyDroid/blob/master/media/DemoFrida.png \"Demo Frida\")\n[Check the video](https://github.com/nccgroup/LazyDroid/blob/master/media/DemoFrida.mp4)\n\n\n### Colaborate and help\nIf you find a bug or you have an idea please let me know and I will improve and fix the tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnccgroup%2FLazyDroid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnccgroup%2FLazyDroid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnccgroup%2FLazyDroid/lists"}