Giter Club home page Giter Club logo

apdecode's Introduction

APDecode

A Python script that parses an AndroidManifest.xml file and checks the level of danger for each permission requested.

Usage

  1. Download the APDecode.py script to your local machine
  2. Navigate to the directory where AndroidManifest.xml is located
  3. Run the script by typing python /path/to/scrip/APDecode.py in your terminal
  4. The script will output a list of each permission requested in the AndroidManifest.xml file, along with its danger level (normal, possibly dangerous, or dangerous).

Features

  • Identifies 28 dangerous permissions and 35 possibly dangerous permissions based on Google's official documentation.
  • Checks each permission in the AndroidManifest.xml file and prints the danger level of each one.
  • Uses color coding to make it easy to identify the danger level of each permission (red for dangerous, yellow for possibly dangerous, green for normal, and cyan for unknown).
  • Handles both standard and custom permission names, as long as they start with the "android.permission" prefix.

Examples

Here are a few examples of how the script outputs permission levels:

  • android.permission.READ_EXTERNAL_STORAGE (dangerous)
  • android.permission.ACCESS_FINE_LOCATION (possibly dangerous)
  • android.permission.BLUETOOTH_ADMIN (possibly dangerous)
  • com.example.myapp.custom_permission (unknown)

License

This script is licensed under the MIT License. Feel free to use it however you like!

Legal Disclaimer

This script is intended for research purposes only and should not be considered authoritative. While every effort has been made to ensure that the information provided by this script is accurate and up-to-date, it is not comprehensive and may not be applicable to all scenarios. The use of this script does not guarantee the safety or security of any application, device, or system. The author and publisher of this script shall not be liable for any direct, indirect, incidental, consequential, or punitive damages arising from the use of this script. Use of this script is at your own risk.

apdecode's People

Contributors

igmrlm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.