goapk

package module
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 9 Imported by: 0

README

goapk

Go Reference Go Report Card

介绍

A library for parsing apk, dex, pcap file.

安装
go get -u gitee.com/kin9-0rz/goapk

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APK

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

APK 定义APK的结构

func NewAPK

func NewAPK() *APK

NewAPK 新建一个APK对象,一次性全部解析完毕,然后,再放在内存进行检索

func (*APK) Close

func (a *APK) Close()

Close 关闭

func (*APK) GetAndroidManifest

func (a *APK) GetAndroidManifest() string

GetAndroidManifest 获取清单内容

func (*APK) GetDexStrings

func (a *APK) GetDexStrings() []string

GetDexStrings 获得字符串

func (*APK) Init added in v1.1.3

func (a *APK) Init(path string) error

Parse 解析指定APK文件

func (*APK) InitBytes added in v1.1.3

func (a *APK) InitBytes(bs []byte) error

ParseBytes 解析APK的文件,内存的方式

func (*APK) ParseAndroidManifest

func (a *APK) ParseAndroidManifest()

ParseAndroidManifest 解析清单内容

func (*APK) ParseDex

func (a *APK) ParseDex(dexReader io.Reader)

ParseDex 解析单个

func (*APK) ParseDexs

func (a *APK) ParseDexs()

ParseDexs 解析所有的Dex

Directories

Path Synopsis
_examples
apk
cmd

Jump to

Keyboard shortcuts

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