Commit Graph

364 Commits

Author SHA1 Message Date
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
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
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
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
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
1895b0198b Split long payload into pages to avoid UI freezes
Rendering long text in TextViews makes the UI freeze. The payload is now
paginated so that only the currently shown portion is shown in
TextViews.
2022-03-30 12:31:58 +02:00
emanuele-f
7c6798d52e Fix wrong connection ID returned on rollover
ON rollover, an invalid connection ID was returned, causing the
connection details of another connection to be shown.
2022-03-29 14:31:25 +02:00
emanuele-f
4f969c9e13 Fix possible null dereference 2022-03-26 23:29:26 +01:00
emanuele-f
32b71fef6f Add support for deflate and brotli content encodings 2022-03-26 23:20:33 +01:00
emanuele-f
ab4ac8f272 Make payload items collapsible
Showing long payloads can make the UI freeze
2022-03-26 22:26:58 +01:00
emanuele-f
f4e8e3b62f Show status message if decryption/proxy is enabled 2022-03-26 19:05:32 +01:00
emanuele-f
caca592999 Disable PCAP dump by default
This is a safer setting for non technical people
2022-03-26 18:49:52 +01:00
emanuele-f
35e13d5e26 Allow inspecting connections after the capture is stopped 2022-03-26 18:39:41 +01:00
emanuele-f
771ffbe6f3 Allow capture start by tapping "Ready" 2022-03-26 18:38:42 +01:00