Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/niklashigi/apk-mitm
/ functions
Functions
56 in github.com/niklashigi/apk-mitm
⨍
Functions
56
◇
Types & classes
18
↓ 7 callers
Function
observeAsync
( fn: (next: (value: T) => void) => Promise<void>, )
src/utils/observe-async.ts:10
↓ 4 callers
Method
run
(args: string[], logName: string)
src/tools/apktool.ts:47
↓ 2 callers
Function
buildGlob
(...components: string[])
src/utils/build-glob.ts:4
↓ 2 callers
Function
createToolDownloadTask
(tool: Tool)
src/utils/download-tool.ts:12
↓ 2 callers
Method
encode
(inputPath: string, outputPath: string, useAapt2: boolean)
src/tools/apktool.ts:32
↓ 2 callers
Function
executeJar
(path: string, args: string[])
src/utils/execute-jar.ts:3
↓ 2 callers
Function
formatBytes
(bytes: number)
src/utils/download-file.ts:48
↓ 2 callers
Function
getCachedPath
(name: string)
src/utils/download-tool.ts:52
↓ 2 callers
Function
observeProcess
( process: ExecaChildProcess, logName: string, )
src/utils/observe-process.ts:7
↓ 2 callers
Function
patchAppBundle
(options: TaskOptions, { isXapk }: { isXapk: boolean })
src/patch-app-bundle.ts:22
↓ 2 callers
Function
reportProgress
()
src/utils/download-file.ts:24
↓ 2 callers
Function
showHelp
()
src/cli.ts:233
↓ 2 callers
Method
sign
(inputPaths: string[], { zipalign = false } = {})
src/tools/uber-apk-signer.ts:6
↓ 1 callers
Function
applyPatches
( decodeDir: string, { debuggable = false, certificatePath, mapsApiKey, }: { debuggable?
src/tasks/apply-patches.ts:9
↓ 1 callers
Function
checkPrerequisites
(options: TaskOptions)
src/tasks/check-prerequisites.ts:12
↓ 1 callers
Function
copyCertificateFile
( decodeDir: string, sourcePath: string, )
src/tasks/copy-certificate-file.ts:9
↓ 1 callers
Function
createMethodPattern
* Creates a full RegExp pattern for finding a method based on its signature.
src/tasks/smali/process-file.ts:85
↓ 1 callers
Function
createNetworkSecurityConfig
( path: string, { certificatePath }: { certificatePath?: string } = {}, )
src/tasks/create-netsec-config.ts:40
↓ 1 callers
Method
decode
(inputPath: string, outputPath: string)
src/tools/apktool.ts:18
↓ 1 callers
Function
determineTask
* Determines the correct "task" (e.g. "patch APK" or "patch XAPK") depending on * the input path's type (file or directory) and extension (e.g. ".apk
src/cli.ts:157
↓ 1 callers
Function
disableCertificatePinning
( directoryPath: string, task: ListrTaskWrapper, )
src/tasks/disable-certificate-pinning.ts:8
↓ 1 callers
Function
downloadCachedFile
( task: ListrTaskWrapper, url: string, fileName: string, )
src/utils/download-tool.ts:24
↓ 1 callers
Function
downloadFile
(url: string, path: string)
src/utils/download-file.ts:6
↓ 1 callers
Function
downloadTools
({ apktool, uberApkSigner }: TaskOptions)
src/tasks/download-tools.ts:6
↓ 1 callers
Function
ensureZipUlitiesAvailable
* Ensure that `zip` and `unzip` are installed on Linux or macOS. Both are used * (through the `cross-zip` package) when patching App Bundles.
src/tasks/check-prerequisites.ts:48
↓ 1 callers
Function
formatCommandError
(error: string, { tmpDir }: { tmpDir: string })
src/cli.ts:216
↓ 1 callers
Function
generateCertificateBlock
(path: string)
src/tasks/create-netsec-config.ts:29
↓ 1 callers
Function
generateConfig
({ certificatePath, }: { certificatePath: string | undefined })
src/tasks/create-netsec-config.ts:5
↓ 1 callers
Function
getErrorMessage
(error: PatchingError, { tmpDir }: { tmpDir: string })
src/cli.ts:206
↓ 1 callers
Function
getJavaVersion
()
src/utils/get-java-version.ts:5
↓ 1 callers
Function
getXapkBaseName
(manifest: any)
src/patch-app-bundle.ts:83
↓ 1 callers
Function
main
()
src/cli.ts:41
↓ 1 callers
Function
modifyManifest
( path: string, debuggable = false, mapsApiKey = '', )
src/tasks/modify-manifest.ts:4
↓ 1 callers
Function
parseSmaliHead
(contents: string)
src/tasks/smali/parse-head.ts:23
↓ 1 callers
Function
patchApk
(options: TaskOptions)
src/patch-apk.ts:12
↓ 1 callers
Function
processSmaliFile
( filePath: string, log: (message: string) => void, )
src/tasks/smali/process-file.ts:14
↓ 1 callers
Function
selectorMatchesClass
* Checks whether the given patch can be applied to the given * class based on its name and the interfaces it implements.
src/tasks/smali/process-file.ts:97
↓ 1 callers
Function
showAppBundleWarning
()
src/patch-apk.ts:96
↓ 1 callers
Function
showArmWarning
()
src/cli.ts:291
↓ 1 callers
Function
showSupportedCertificateExtensions
* Error that is shown when the file provided through the `--certificate` flag * has an unsupported extension. Exits with status 1 after showing the m
src/cli.ts:267
↓ 1 callers
Function
showSupportedExtensions
* Error that is shown when the file provided through the positional argument * has an unsupported extension. Exits with status 1 after showing the me
src/cli.ts:253
↓ 1 callers
Function
showVersions
({ apktool, uberApkSigner, }: { apktool: Tool uberApkSigner: Tool })
src/cli.ts:277
Method
constructor
(private options: ApktoolOptions)
src/tools/apktool.ts:14
Method
constructor
(message: string)
src/utils/user-error.ts:6
Method
constructor
(private tasks: ReadonlyArray<Listr.ListrTaskObject<any>>)
src/utils/observe-listr.ts:31
Method
constructor
(tool: string, minVersion: number, currentVersion: number)
src/tasks/check-prerequisites.ts:61
Method
end
(error: Error)
src/utils/observe-listr.ts:58
Function
jarPath
()
src/tools/tool.ts:7
Method
nonTTY
()
src/utils/observe-listr.ts:35
Function
observeListr
(listr: Listr)
src/utils/observe-listr.ts:14
Function
patchApksBundle
(options: TaskOptions)
src/patch-app-bundle.ts:18
Function
patchXapkBundle
(options: TaskOptions)
src/patch-app-bundle.ts:14
Method
path
()
src/tools/apktool.ts:53
Method
render
()
src/utils/observe-listr.ts:39
Method
version
()
src/tools/apktool.ts:58
Method
version
()
src/tools/uber-apk-signer.ts:24