Commit Graph

756 Commits

Author SHA1 Message Date
emanuele-f
f3bf5e282c Fix VPN marked as metered on newer Android 2022-05-18 12:30:22 +02:00
emanuele-f
2cb44daddb Ignore font scaling for payload text size
This prevents splitting hexdump lines on most devices
2022-05-18 12:19:53 +02:00
emanuele-f
46af0e6fc1 Fix unrendered whitespaces in some devices
Some devices have a bad monospace font
2022-05-18 12:07:02 +02:00
emanuele-f
351a741eb0 Fix payload text sometimes not selectable 2022-05-18 11:51:06 +02:00
emanuele-f
c0ec3e6421 Add app details connections tab
Closes #204
2022-05-17 20:01:02 +02:00
emanuele-f
68d661d625 Split app details activity into fragment 2022-05-17 19:22:46 +02:00
emanuele-f
30b73bab84 Make connections card clickable
Clicking it shows the related connections
2022-05-17 16:11:19 +02:00
emanuele-f
51224accb6 Implement firewall status
- Ability to enable/disable the firewall at runtime
- Blocked connections stats: num blocked, last block, jump to
  connections
- In the app details, show traffic and total/blocked connections
2022-05-17 15:58:09 +02:00
emanuele-f
5facf66175 Add ability to import/export rules
This applies to: firewall, malware whitelist, hidden connections
2022-05-16 17:42:58 +02:00
emanuele-f
9a4bdf7271 Add debug toasts in case of certificate issues 2022-05-12 22:07:46 +02:00
emanuele-f
5e63567926 Add phone app uid mapping 2022-05-01 18:54:59 +02:00
emanuele-f
966ac47de2 Ensure consistent package name for shared uids
Fixes #200
2022-05-01 18:47:21 +02:00
emanuele-f
f90eec7c59 Add "Malicious" column in the CSV file export
The column is only added when malware detection is enabled.

Closes #142
2022-05-01 18:41:03 +02:00
emanuele-f
f456ef0365 Show message for blocked connections in the details 2022-05-01 18:33:48 +02:00
emanuele-f
6774545da0 Ability to manually download the geolocation db
This removes the bundled geolocation db, saving about 8 MB of space.
It is now possible to manually download the database from the app settings.

Closes #172
2022-05-01 17:08:27 +02:00
emanuele-f
4c93c72cd2 Use the new mitm-addon per-abi releases 2022-05-01 00:03:59 +02:00
emanuele-f
9608d48522 Rename mitm receiver message variables 2022-04-30 18:24:40 +02:00
emanuele-f
737d955c26 Fix SSLKEYLOG export dialog shown with no decryption
Fixes #199
2022-04-30 12:11:52 +02:00
emanuele-f
0b2afde0b5 Move to stable robolectric 4.8 release 2022-04-28 19:51:49 +02:00
emanuele-f
833cf8022d Rename connection "open" status to "active" 2022-04-27 18:37:35 +02:00
emanuele-f
91cbbe4fd3 Fix "full payload" preference hidden on root capture 2022-04-27 18:29:04 +02:00
emanuele-f
af118eef99 Fix hexdump misplaced in right-to-left languages 2022-04-27 18:01:09 +02:00
emanuele-f
38e24f4a1f User can now specify text/hexdump visualization 2022-04-27 17:12:11 +02:00
emanuele-f
6ffcdd41da Sort payload by request/reply pairs
This removes the need for "jump to reply" buttons, which were not user
friendly. Also display the ContentType in the payload chunk heading
2022-04-27 14:47:29 +02:00
emanuele-f
ede31c61d7 Improve mitm addon control and status reporting
This fixes the addon not being stopped when a start request is
followed by a stop request in a short interval
2022-04-26 19:01:34 +02:00
emanuele-f
6854284db0 Fix export of SSLKEYLOG
The keylog export dialog now appears automatically when the capture is
stopped and PCAP dump is enabled
2022-04-26 16:32:11 +02:00
emanuele-f
4e89c54724 Fix tests with SDK 32 2022-04-26 11:32:42 +02:00
emanuele-f
3fe6f4ca3c Update to SDK 32, ndk, gradle and androidx 2022-04-26 11:18:16 +02:00
emanuele-f
efce847438 Bump version to 1.4.8 2022-04-22 22:36:29 +02:00
emanuele-f
f22a07f989 Catch possible SecurityException with apps filter 2022-04-19 23:36:43 +02:00
emanuele-f
da34a5529d Fix crash with TLS decryption and app filter set 2022-04-19 22:59:23 +02:00
emanuele-f
58b2da09e5 Avoid capturing the mitm-addon own traffic
This allows TLS decryption to be enabled system-wide
2022-04-19 22:38:18 +02:00
emanuele-f
3ca3603ed0 Show warning if no app data is exchanged 2022-04-19 19:25:48 +02:00
emanuele-f
37955540f2 Handle new mitmproxy errors 2022-04-19 17:43:53 +02:00
emanuele-f
7b8eb2d24b Fix IP, country and decryption status not copied
When copying to clipboard or sharing the connection details
2022-04-14 15:09:06 +02:00
emanuele-f
05ca7a4617 Improve connection overview
- Show the decryption status
- Show payload size
- Show warning if connection start is not seen (root)
2022-04-14 15:00:42 +02:00
emanuele-f
06a98d3486 Add decryption status filter 2022-04-14 11:37:38 +02:00
emanuele-f
5dfe15c4d9 TLS decryption now uses SOCKS5 auth
This prevents other processes from using the proxy
2022-04-14 01:04:09 +02:00
emanuele-f
ab697a186f Pass mitm args as object 2022-04-13 21:55:36 +02:00
emanuele-f
bc80a5fb44 Read timestamp from the mitm plugin, fix warnings 2022-04-13 18:49:54 +02:00
emanuele-f
64900d5f59 Improve payload visualization
- The "jump to reply" button is only shown for non-consecutive items
- Removed extra space when paginated
2022-04-13 18:01:28 +02:00
emanuele-f
710cd7b471 Fix content-length header not used 2022-04-12 23:16:47 +02:00
emanuele-f
f8ccd99980 Simplify the payload mode preference
Turn it into a toggle which enables/disables the full payload
2022-04-12 22:54:07 +02:00
emanuele-f
d3a1ef2b05 Always show full payload with TLS decryption 2022-04-12 22:23:58 +02:00
emanuele-f
cfb3e5aac3 Fix pcap dialog not appearing when started on boot 2022-04-12 19:07:33 +02:00
emanuele-f
507b9861e0 Fix corrupt PCAP file on Android 10+ with overwrite
Due to a subtle change in Android 10, the ContentResolver default mode
does not truncate files anymore, which causes corrupt PCAP files to be
generated when overwriting an existing file with greater size.

Issue: https://issuetracker.google.com/issues/180526528
2022-04-11 17:50:07 +02:00
emanuele-f
0845f4896a Show HTTPS, IMAPS and SMTPS instead of TLS
Such names are more user-friendly. Combine ALPN-based detection with
guesses
2022-04-11 16:51:35 +02:00
emanuele-f
00c4d08deb Add HTTP scroll to request/reply button 2022-04-11 12:58:28 +02:00
emanuele-f
64721ea64c Join HTTP request and reponse tabs 2022-04-11 11:52:49 +02:00
emanuele-f
64ae11f6f4 Remove unused strings 2022-04-07 12:17:10 +02:00