androlyze.model.script.impl package¶
Subpackages¶
- androlyze.model.script.impl.manifest package
- Subpackages
- androlyze.model.script.impl.manifest.components package
- Submodules
- androlyze.model.script.impl.manifest.components.Activities module
- androlyze.model.script.impl.manifest.components.BroadcastReceivers module
- androlyze.model.script.impl.manifest.components.ContentProviders module
- androlyze.model.script.impl.manifest.components.Intents module
- androlyze.model.script.impl.manifest.components.PublicContentProviders module
- androlyze.model.script.impl.manifest.components.PublicContentProviders_Manifest module
- androlyze.model.script.impl.manifest.components.Services module
- Module contents
- androlyze.model.script.impl.manifest.components package
- Submodules
- androlyze.model.script.impl.manifest.Files module
- androlyze.model.script.impl.manifest.Libs module
- androlyze.model.script.impl.manifest.Manifest module
- androlyze.model.script.impl.manifest.Permissions module
- Module contents
- Subpackages
Submodules¶
androlyze.model.script.impl.ASTifyMethodsText module¶
-
class
androlyze.model.script.impl.ASTifyMethodsText.
ASTifyMethodsText
[source]¶ Bases:
androlyze.model.script.AndroScript.AndroScript
Get the AST (abstract syntax tree) for each method.
Attributes
Methods
-
VERSION
= '0.3'¶
-
androlyze.model.script.impl.ApkInfo module¶
-
class
androlyze.model.script.impl.ApkInfo.
ApkInfo
[source]¶ Bases:
androlyze.model.script.AndroScript.AndroScript
Shows basic information about the .apk like e.g. permissions, files, libraries, components (activities, broadcast receivers, content providers, services) as wall as their intents.
Attributes
Methods
-
VERSION
= '0.1'¶
-
androlyze.model.script.impl.ChainedApkInfos module¶
-
class
androlyze.model.script.impl.ChainedApkInfos.
ChainedApkInfos
(androscripts=None, root_categories=(), name=None, log_chained_script_meta_infos=True, continue_on_script_failure=True, log_script_failure_exception=False, **kwargs)[source]¶ Bases:
androlyze.model.script.ChainedScript.ChainedScript
The same as the ApkInfo script, but build using modular scripts chained together
Attributes
Methods
-
VERSION
= '0.1'¶
-
androlyze.model.script.impl.ClassDetails module¶
androlyze.model.script.impl.ClassInfos module¶
-
class
androlyze.model.script.impl.ClassInfos.
ClassInfos
(androscripts=None, root_categories=(), name=None, log_chained_script_meta_infos=True, continue_on_script_failure=True, log_script_failure_exception=False, **kwargs)[source]¶ Bases:
androlyze.model.script.ChainedScript.ChainedScript
List classes as well as their details (methods and fields)
Attributes
Methods
-
VERSION
= '0.1'¶
-
continue_on_script_failure
()[source]¶ Specify if the analysis shall continue if a script encounters an error
-
androlyze.model.script.impl.ClassListing module¶
androlyze.model.script.impl.CodePermissions module¶
-
class
androlyze.model.script.impl.CodePermissions.
CodePermissions
[source]¶ Bases:
androlyze.model.script.AndroScript.AndroScript
List where permissions are used in the code and decompile them
Attributes
Methods
-
VERSION
= '0.1'¶
-
androlyze.model.script.impl.DVM module¶
-
class
androlyze.model.script.impl.DVM.
DVM
(androscripts=None, root_categories=(), name=None, log_chained_script_meta_infos=True, continue_on_script_failure=True, log_script_failure_exception=False, **kwargs)[source]¶ Bases:
androlyze.model.script.ChainedScript.ChainedScript
List classes as well as their details (methods and fields) and create Disassembly
Attributes
Methods
-
VERSION
= '0.1'¶
-
continue_on_script_failure
()[source]¶ Specify if the analysis shall continue if a script encounters an error
-
androlyze.model.script.impl.DecompileClasses module¶
androlyze.model.script.impl.DecompileClassesText module¶
-
class
androlyze.model.script.impl.DecompileClassesText.
DecompileClassesText
[source]¶ Bases:
androlyze.model.script.AndroScript.AndroScript
Get the source code from the apk for each class.
Attributes
Methods
-
VERSION
= '0.1'¶
-
androlyze.model.script.impl.DecompileMethods module¶
androlyze.model.script.impl.DecompileMethodsText module¶
-
class
androlyze.model.script.impl.DecompileMethodsText.
DecompileMethodsText
[source]¶ Bases:
androlyze.model.script.AndroScript.AndroScript
Get the source code from the apk for each method.
Attributes
Methods
-
VERSION
= '0.1'¶
-
androlyze.model.script.impl.GVMAnalysisExample module¶
-
class
androlyze.model.script.impl.GVMAnalysisExample.
GVMAnalysisExample
[source]¶ Bases:
androlyze.model.script.AndroScript.AndroScript
Example that uses the GVMAnalysis object from androguard to create a graph
Attributes
Methods
-
VERSION
= '0.1'¶
-
custom_result_object
()[source]¶ Overwrite this method, if you want to use your own result logging framework/object, You can supply it here and access it via self.cres.
E.g. you could return (“”, “txt”) for simply logging with a string to a .txt file.
Returns: tuple<object, str>
First argument is the result object you want to use, the second is the file name extension used for storage (without a leading point)
-
androlyze.model.script.impl.SSL module¶
androlyze.model.script.impl.ShowLoggingFuncs module¶
-
class
androlyze.model.script.impl.ShowLoggingFuncs.
ShowLoggingFuncs
[source]¶ Bases:
androlyze.model.script.AndroScript.AndroScript
Example for demonstrating available logging options and to do some query checks
Attributes
Methods
-
VERSION
= '0.1'¶
-