structures

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	Name       string
	Permission string
	IsExported bool
}

type ApkHashes

type ApkHashes struct {
	MD5    string
	SHA1   string
	SHA256 string
}

type AppInfo

type AppInfo struct {
	Package_Name string
	Version      string
	MainActivity string
	Target_Sdk   string
	Minimum_Sdk  string
	Permissions  []string
	MetaDatas    []MetaData
	Application_ Application
	Activities   []Activity
	Providers    []Provider
	Receivers    []Receiver
	Services     []Service
	ApkHash      ApkHashes
	Cert         Certificate
}

func (*AppInfo) Display

func (appInfo *AppInfo) Display()

func (*AppInfo) InitDataFromManifest

func (appInfo *AppInfo) InitDataFromManifest(document *etree.Document)

func (*AppInfo) SetApkHashes

func (appInfo *AppInfo) SetApkHashes(apk_path string) error

func (*AppInfo) SetCertsInfo

func (appInfo *AppInfo) SetCertsInfo(apk_path string) error

type Application

type Application struct {
	// contains filtered or unexported fields
}

type Certificate

type Certificate struct {
	Serialno           string
	Issuer             string
	Subject            string
	Sha1               string
	Sha256             string
	MD5                string
	ValidFrom          string
	ValidTo            string
	SignatureAlgorithm string
}

type MetaData

type MetaData struct {
	Name  string
	Value string
}

type Provider

type Provider struct {
	Name       string
	Permission string
	IsExported bool
}

type Receiver

type Receiver struct {
	Name       string
	Permission string
	IsExported bool
}

type Service

type Service struct {
	Name       string
	Permission string
	IsExported bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL