Skip to content

wavedong/analfist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Analfist

Analfist provides and API for parsing and analyzing an AndroidManifest.xml file or files.

REQUIRES

It requires the following tools to be installed/in the current PATH for some functionality to work

RUNNING

Analfist can be installed to sys.path:

$ sudo python setup.py install

In order to use the library. Alternatively, run Analfist without installation using:

$ python Analfist/main.py

And has the following options:

usage: main.py [-h] [-p [PATH]] [-v] [--picky] [-g] [-f [FILTER]] [-d] [-m]

Process some manifests.

optional arguments:
  -h, --help            show this help message and exit
  -p [PATH], --path [PATH]
                        Path to search for AndroidManifest.xml files. Default
                        = current directory
  -v, --verbose         Turn debugging statements on
  --picky               Don't analyze Google and standard APKs
  -g, --get             Download apks from the device via ADB. Use -f for
                        filtering.
  -f [FILTER], --filter [FILTER]
                        Download only apps which has this keyword in the class
                        name (e.g. OEM name)
  -d, --decompile       Decompile applications after download.
  -m, --perm-map        Create a map of custom permissions and which apps
                        request them. Default true.

FUNCTIONS

Its API functions are:

Returns Boolean: isDebuggable isUIDShare

Returns List: getExportedActivity getExportedService getExportedProvider getExportedReceiver getHiddenMenuActivities getSecretCodes getUsesPermissions getCustomPermissions

See each function's PyDocs string for a short description. None of the API calls take parameters.

TODO

  • Add custom permissions
  • Add UID sharing
  • Default intent-filter false in Android 4.1+
  • Finish mapping permissions

About

Manifest Analyzer tool for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%