Commit Graph
115 Commits
Author SHA1 Message Date
Niklas Higi be21aed09b Create processSmaliFile function 2021-01-20 11:09:07 +01:00
Niklas Higi a8747557f0 Enable TypeScript strict mode 2021-01-19 23:57:19 +01:00
Niklas Higi 768935cb55 v0.10.1 v0.10.1 2021-01-19 10:59:49 +01:00
Niklas Higi ae998f951d Inline NSC XML template
This makes it possible to include apk-mitm in a project built with
webpack (like APK Lab).
2021-01-18 22:12:12 +01:00
Niklas Higi 0c1d87d9ad v0.10.0 v0.10.0 2021-01-18 16:27:47 +01:00
Niklas Higi 9fcd79612a Expose observeListr and applyPatches functions as library 2021-01-18 16:20:43 +01:00
Niklas Higi 5be466991f Introduce observeListr helper function 2021-01-18 16:19:26 +01:00
Niklas Higi 186d9c403c Make logging of disableCertificatePinning function less verbose 2021-01-18 16:01:35 +01:00
Niklas Higi 5dcd08ebd3 Start emitting TypeScript declarations 2021-01-15 21:26:31 +01:00
Niklas Higi 25b56aa88a Disable esModuleInterop TypeScript compiler option 2021-01-15 21:24:49 +01:00
Niklas Higi 955f360237 Add --skip-patches flag
This makes it much easier to debug Apktool-related issues.
2021-01-14 21:47:42 +01:00
Niklas Higi 4dee13877b Group all patches into one task 2021-01-14 21:02:02 +01:00
Niklas Higi 7c9d76f575 Stop setting debuggable attribute to true in manifest
This doesn't seem to be necessary anymore since the new Network Security
Config uses `<base-config>` instead of `<debug-overrides>`.
2021-01-14 20:28:55 +01:00
Niklas Higi c4a0138610 Configure recommended VS Code workspace extensions 2021-01-03 12:57:41 +01:00
Niklas Higi f358935433 Set up automatic code formatting using Prettier 2021-01-03 12:23:42 +01:00
Niklas Higi 185aee9921 v0.9.5 v0.9.5 2021-01-02 19:56:50 +01:00
Niklas Higi 07d35a708c Use globby.stream for finding Smali files 2021-01-02 19:39:57 +01:00
Niklas Higi 65c3af11cd Use fs wrapper everywhere 2021-01-02 18:54:04 +01:00
Niklas Higi 04d97d8d65 Introduce observeAsync helper to improve async error handling 2021-01-02 18:51:29 +01:00
Niklas Higi 444e8fecc2 Fix inconsistent indentation in observe-process.ts 2021-01-02 16:23:23 +01:00
Niklas Higi 10be937b74 Print full stack trace for non-command errors 2021-01-02 16:21:52 +01:00
Niklas Higi 7131ff9962 Fix inconsistent indentation in full logs message 2021-01-02 10:59:13 +01:00
Niklas Higi 286bc80e43 v0.9.4 v0.9.4 2020-12-29 23:07:50 +01:00
Niklas Higi 6e0ed4ca7d Allow cleartext traffic in Network Security Config
Fixes #29
2020-12-29 22:51:26 +01:00
Niklas Higi b71ae57910 Create Network Security Config based on hard-coded template file
This is a lot simpler than the previous solution of parsing and
carefully modifying the existing config. It also fixes #11 because the
generated XML resource name (`nsc_mitm`) no longer conflicts with the
name that most apps are using (`network_security_config`).
2020-12-29 22:48:53 +01:00
Niklas Higi 65984f95d6 Remove unused jar directory from package.json 2020-12-27 17:35:01 +01:00
Niklas Higi 3787a73c0b v0.9.3 v0.9.3 2020-12-16 21:58:42 +01:00
Niklas Higi c4ac81e053 Fix certificate pinning removal not working on Windows
Fixes #27
2020-12-16 21:46:48 +01:00
Niklas Higi 1cf310c5a8 v0.9.2 v0.9.2 2020-12-02 14:08:59 +01:00
Niklas Higi 5bb0407b7a Update Apktool to v2.5.0 2020-12-02 13:57:53 +01:00
Niklas Higi 1d3d776ecd v0.9.1 v0.9.1 2020-11-29 23:08:56 +01:00
Niklas Higi 197b5b4e9c Add apk-mitm- prefix to temporary directory name 2020-11-29 23:08:56 +01:00
Niklas Higi 24ba312aee Fix unhandled promise rejection 2020-11-29 23:08:56 +01:00
Niklas Higi ee431bb06b Improve error handling in downloadFile function 2020-11-29 23:08:55 +01:00
Niklas Higi bc147352be Update uber-apk-signer to v1.2.1 2020-11-29 23:08:52 +01:00
Niklas Higi 03a02b16fa Update dependencies 2020-11-29 23:05:46 +01:00
Niklas Higi 3a51a43e6f v0.9.0 v0.9.0 2020-09-22 21:25:52 +02:00
Niklas Higi 6bff023198 Output full logs of all processes in temporary directory 2020-09-22 21:25:28 +02:00
Niklas Higi 2e6c007c07 v0.8.1 v0.8.1 2020-08-08 17:15:49 +02:00
Niklas Higi e2afeef8e1 Update OWASP links in README 2020-08-08 17:00:16 +02:00
Niklas Higi c91d43e6d1 Speed up patching by not scanning all classes for certificate pinning 2020-08-08 16:54:22 +02:00
Niklas Higi 0856cdac2e Disable certificate pinning more reliably
FIxes #22
2020-08-08 16:44:27 +02:00
Niklas Higi a64794b927 v0.8.0 v0.8.0 2020-06-29 00:03:14 +02:00
Niklas Higi 93570f12b7 Show note about ARM incompatibility when patching fails 2020-06-28 23:53:48 +02:00
Niklas Higi 1a332a2abb Update dependencies 2020-06-28 23:08:32 +02:00
Niklas Higi bf62b2a2eb Make error output easier to parse 2020-06-28 23:07:39 +02:00
Niklas Higi f6d41e90ea v0.7.1 v0.7.1 2020-06-10 23:18:57 +02:00
Niklas Higi 0d2da035b9 Fix link to mitmproxy in README 2020-06-10 23:18:20 +02:00
Niklas Higi 35f82ce5a2 v0.7.0 v0.7.0 2020-05-18 19:44:58 +02:00
Niklas Higi f0dcada6f4 Download and cache tools at runtime instead of bundling them 2020-05-18 19:34:28 +02:00