Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nccgroup/LazyDroid
bash script to facilitate some aspects of an Android application assessment
https://github.com/nccgroup/LazyDroid
android bash-script linux
Last synced: 21 days ago
JSON representation
bash script to facilitate some aspects of an Android application assessment
- Host: GitHub
- URL: https://github.com/nccgroup/LazyDroid
- Owner: nccgroup
- License: apache-2.0
- Created: 2017-05-17T14:30:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-09T20:36:10.000Z (over 3 years ago)
- Last Synced: 2024-11-20T01:33:32.586Z (22 days ago)
- Topics: android, bash-script, linux
- Language: Shell
- Homepage:
- Size: 13.5 MB
- Stars: 155
- Watchers: 15
- Forks: 33
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - nccgroup/LazyDroid - bash script to facilitate some aspects of an Android application assessment (Shell)
README
# Lazydroid 0.4 by Dani Martinez (@dan1t0)
![Lazydroid](https://github.com/nccgroup/LazyDroid/blob/master/media/tool.png "Lazydroid")
Lazydroid is a tool written as a bash script to facilitate some aspects of an Android Assessment. It provides some common tasks such as:
- Set the debug flag of an application to true
- Set the backup flag of an application to true
- Re-Build the application
- Re-Sign the application
- Smart log extraction of an application
- Extract the APK of an application installed from Google Play
- Download any mobile folder (/sdcard/, application data folder, other)
- Compare two different snapshots of the same folder
- Insert Frida gadget in the APK (for example when the phone is not or cannot be rooted, and thus Frida server cannot be run)### Installation
Lazydroid requires Linux or Mac OS to run and the next tools installed:
* apktool
* jarsigner
* adb
* aapt (Android Asset Packaging Tool, part of the SDK)
* your keystore and alias
* Frida Agent (pip install frida)To run lazydroid.sh the steps would be the following:
```sh
$ git clone
$ #configure the path to the tools (adb, jarsigner, apktool, etc and your favorite shell)
$ cd lazydroid
$ ./getfridalibs.sh #get the last frida libs for Android
$ ./lazydroid.sh
```### Options
* Set apk to debuggable=true
* Unzip an APK and set the debuggable flag to true.
* Set apk to allowBackup=true
* Unzip an APK and set the allowBackup flag to true (useful to extract the app data folder in non-rooted devices)
* Sign apk
* Captain Obvious to the rescue.
* Build apk
* Captain Obvious to the rescue.
* Extract app log from Android device
* Lazydroid filters the logcat with the application PID
* Extract apk file to an installed application from Market
* Useful to get and analyze an APK.
* Download installed application data snapshot, /sdcard/ or mobile folder
* Lazydroid compares two folders and extract the diff among them in a pretty format.
* Compare two different snapshots
* 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.
![Compare two snapshots](https://github.com/nccgroup/LazyDroid/blob/master/media/compare.png "Compare two snapshots")* Insert Frida gadget in the APK
* 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).
![Demo Frida](https://github.com/nccgroup/LazyDroid/blob/master/media/DemoFrida.png "Demo Frida")
[Check the video](https://github.com/nccgroup/LazyDroid/blob/master/media/DemoFrida.mp4)### Colaborate and help
If you find a bug or you have an idea please let me know and I will improve and fix the tool.