attacks

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: 10 Imported by: 4

Documentation

Overview

Package attacks : creates all the folders that are going to store the application and the attacks results.

Package attacks : Tests the insecure logging.

Package attacks : Tests the insecure storage

Package attacks : does all the attacks at once.

Package attacks : does the reverse engineering attack on the application through decompiling the application and looling at improper strings in it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAttacksFolder

func CreateAttacksFolder(pkgname string)

CreateAttacksFolder : Create the attack folder

func DebugPkgDirPath

func DebugPkgDirPath(pkgname string) string

DebugPkgDirPath : Return the folder path where we store the "apktool b" command result files (.b.apk).

func DecompiledPackageDirPath

func DecompiledPackageDirPath(pkgname string) string

DecompiledPackageDirPath : Return the folder path where we store the "jadx -d" command result files (.java).

func DisassemblePackageDirPath

func DisassemblePackageDirPath(pkgname string) string

DisassemblePackageDirPath : Return the folder path where we store the "apktool -d" command result files (.smali).

func Do

func Do(pkgname string)

Do :

func DoInsecureLog

func DoInsecureLog(pkgname string)

DoInsecureLog : Test if something insecure is logged through logcat while using the device. It tests the "password", "admin" and "key" related strings and then let the user test its own strings.

func DoInsecureStorage

func DoInsecureStorage(pkgname string)

DoInsecureStorage :

func DoReverse

func DoReverse(pkgname string)

DoReverse : Reverse the ".apk" to the ".java" files. Try to deobfuscate code while reversing it. Then it performs some research for specific leak in the codebase, looking for strings as "password", "admin", "key", etc. The results are stored in specific files.

func InsecLoggingDirPath

func InsecLoggingDirPath(pkgname string) string

InsecLoggingDirPath : Return the Insecure Logging folder path.

func InsecStorageDirPath

func InsecStorageDirPath(pkgname string) string

InsecStorageDirPath : Return the Insecure Storage folder path.

func SourcePackageDirPath

func SourcePackageDirPath(pkgname string) string

SourcePackageDirPath : Return the folder that contains the package we pulled initially from the device.

func UnzipDirPath

func UnzipDirPath(pkgname string) string

UnzipDirPath : Return the folder path where we store the "unzip" command result files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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