Coder Social home page Coder Social logo

dextractor's Introduction

dextractor

Android pentesting with ease.

Description

The tools allows to connect through adb to an Android device. Once connected, use the packages command to list the installed apps, use dump command to save locally the app data files (/data/data/app_package) and dump all xml and sqlite3 content into txt files for further inspection. It allows to connect quickly through jdb and test if anti-debug is in place. It also checks for dangerous permissions in AndroidManifest.xml

andrea@MBP-di-Andrea dextractor % dextractor

64 65 78 74 72 61 63 74 6F 72
AndyCyberSec 2020 - www.andreabruschi.net
Type ? or help to list commands
dextractor % perm ./AndroidManifest.xml

[+] Requesting https://developer.android.com/reference/android/Manifest.permission...

[+] Found 4 dangerous permissions in AndroidManifest.xml

Dangerous:      android.permission.RECORD_AUDIO

Dangerous:      android.permission.CAMERA

Dangerous:      android.permission.WRITE_EXTERNAL_STORAGE

Dangerous:      android.permission.ACCESS_FINE_LOCATION

Prerequisites

  • dex2jar
  • adb

Installation

pip3 install -r requirements.txt 

Note

The tool will use pure-python-adb but actually it doesn't support pull of directories. For this functionality the script now uses adb binary.

Commands

Documented commands (type help <topic>):
========================================
connect  cwd  debug  devices  dextract  dump  exit  help  packages  perm

Usage

You can create a symlink into your /usr/local/bin

ln -s /path/dextractor/main.py /usr/local/bin/dextractor
$ dextractor

64 65 78 74 72 61 63 74 6F 72
AndyCyberSec 2020 - www.andreabruschi.net
Type ? or help to list commands
dextractor % help

Documented commands (type help <topic>):
========================================
connect  cwd  debug  devices  dextract  dump  exit  help  packages  perm

dextractor % 

Authors

dextractor's People

Contributors

andycybersec avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.