appvuln

package
v0.0.0-...-17a5c9f Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REQUIRE_LV = 0x2000
	RUNTIME    = 0x10000
)

Variables

This section is empty.

Functions

func InSIPPath

func InSIPPath(path string) bool

func IsLibraryValidation

func IsLibraryValidation(f uint32) bool

func IsRuntime

func IsRuntime(f uint32) bool

Types

type AppScanx

type AppScanx struct {
}

func New

func New() *AppScanx

func (*AppScanx) Scan

func (d *AppScanx) Scan() (res []*Info, err error)

func (*AppScanx) ScanSingleApp

func (d *AppScanx) ScanSingleApp(path_ string) (info *Info, err error)

func (*AppScanx) SetAppInfo

func (d *AppScanx) SetAppInfo(path_ string, info *Info) error

type Info

type Info struct {
	Path           string     `json:"path"`
	ExecutablePath string     `json:"executable_path"`
	Injectable     bool       `json:"injectable"` // 应用可以注入动态库
	Dylibs         []VulnItem `json:"dylibs"`
}

type VulnItem

type VulnItem struct {
	Type string `json:"type"`
	Path string `json:"path"`
}

Jump to

Keyboard shortcuts

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