settings

package
v0.0.0-...-64249c4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MPL-2.0 Imports: 6 Imported by: 4

Documentation

Overview

Package settings : Provides features to store the user settings in a file. It stores or updates the path to the executables that are required to pursue the penetration testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApkTool

func ApkTool() string

ApkTool :

func AreAllReady

func AreAllReady() bool

AreAllReady :

func IsApktoolInstalled

func IsApktoolInstalled() (bool, string)

IsApktoolInstalled : Return if apktool is in the user's PATH so that we could call it directly when executing a command.

func Jadx

func Jadx() string

Jadx :

func Setup

func Setup(force bool)

Setup : It does the Settings set up if we don't know where to look for the external tools required to do the repackaging and the attacks. You can use force=true to setup the settings whatever the values in the usersettings.json file.

func SignApk

func SignApk() string

SignApk :

Types

type Application

type Application struct {
	Version string `json:"version"`
}

Application :

type HackingTools

type HackingTools struct {
	HumptyDumpty string `json:"humpty-dumpty"`
}

HackingTools :HumptyDumpty

type Tools

type Tools struct {
	Jadx    string `json:"jadx"`
	Apktool string `json:"apktool"`
	SignApk string `json:"signapk"`
}

Tools :

type UserSettings

type UserSettings struct {
	Application  Application  `json:"application"`
	Tools        Tools        `json:"tools"`
	HackingTools HackingTools `json:"hackingtools"`
}

UserSettings :

Jump to

Keyboard shortcuts

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