Commit Graph

1165 Commits

Author SHA1 Message Date
emanuele-f
e5259add68 Don't load malware/firewall lists when reading from file 2025-01-05 11:47:33 +01:00
emanuele-f
b9c18f02c6 Compilation fix
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2025-01-04 19:06:25 +01:00
emanuele-f
ba7df0e487 Compilation fix 2025-01-04 19:01:30 +01:00
emanuele-f
222d44e70a Dump capture interface via the Pcapng IDB
When capturing as root, the interface name and incremental id are
now correctly reported in the Pcapng file

Closes #438
2025-01-04 18:53:42 +01:00
emanuele-f
4f7b7a7a2e Fix string case 2025-01-04 17:33:45 +01:00
emanuele-f
a6d7df239a Remove unused trailer-related strings 2025-01-04 17:24:08 +01:00
emanuele-f
d25b4eb707 Rename PCAPdroid trailer to extensions 2025-01-04 17:03:42 +01:00
emanuele-f
4a28879318 Implement dump of PCAPdroid metadata in Pcapng
Closes #434
2025-01-04 17:03:42 +01:00
emanuele-f
c610c564bf Reduce size of nDPI
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
Use slim nDPI, which reduces the libndpi.so 4.12 size from 3 MB to 1 MB.
Further trimming may be evaluated in the future.

Closes #188
2025-01-02 08:17:32 +01:00
emanuele-f
65564a241c Update nDPI to 4.12 and libpcap to 1.10.5
Closes #474
2025-01-01 22:38:46 +01:00
emanuele-f
c88ffeba35 Add doc with edge-to-edge info and instructions 2025-01-01 19:16:05 +01:00
emanuele-f
264a2eafd6 Update robolectric to 4.14.1
Provides Android 15 support
2025-01-01 18:03:04 +01:00
emanuele-f
adbc33afe5 Fix inset issues on older platforms
Fix issues in fab, connections, apps, stats, log and app details
2025-01-01 17:57:19 +01:00
emanuele-f
5f50ae30c1 Remove app theme selection dropdown
When targetting SDK 35, setting a manual theme does not work correctly
with edge-to-edge, making text unreadable. Now the app will always
use the system default
2025-01-01 11:53:17 +01:00
emanuele-f
f0d1b67524 Use darker purple as main color 2025-01-01 11:53:17 +01:00
emanuele-f
9c2369fcc6 Implement edge-to-edge support
This is now required for apps which target sdk 35
2025-01-01 11:52:54 +01:00
emanuele-f
1ebc6271e3 Target sdk 35 (Android 15) 2024-12-26 10:58:52 +01:00
emanuele-f
e5bc37620a Update Java libraries
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-12-25 16:48:15 +01:00
emanuele-f
e545bb2c75 Update to Java 17 and enable desugaring
This fixes Java 8 deprecation warnings in newer gradle
2024-12-25 16:42:04 +01:00
emanuele-f
41eb45c789 Bump version to 1.7.5
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-11-09 12:13:50 +01:00
emanuele-f
d0a0c9e435 Bump mitm addon version to 1.4
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
No actual changes, just an AV misdetection fix
2024-11-06 22:08:09 +01:00
emanuele-f
8610e6ad27 Fix capture stall with target apps in root mode
When target apps are specified, the root capture would stall
when matching the uid, because of an infinite loop.

Fixes #467
2024-11-06 21:59:39 +01:00
emanuele-f
caced7daab Bump version to 1.7.4 2024-10-15 23:04:16 +02:00
emanuele-f
070eb19317 Update dependencies
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-10-15 22:55:44 +02:00
emanuele-f
466f0fd79d Bump PCAPdroid-mitm to version 1.3 (mitmproxy 11) 2024-10-15 19:39:40 +02:00
Chris Vanstone
3843546bbe Include the package name in the CSV output 2024-10-10 14:55:40 +01:00
emanuele-f
ac3ce3a75f Fix missing format argument 2024-09-11 18:46:20 +02:00
emanuele-f
50812d1de8 Add safety checks on getcwd and free memory 2024-09-11 18:38:50 +02:00
jackyzy823
9be48af56b Change working directory before calling pcapd under su.
Some implementation of Android su will reset environment variables, so
the current working directory will not be preserved.

To make sure the creation of pid file and log file, change working
directory manually.
2024-09-11 10:52:07 +08:00
emanuele-f
dc3bb39168 Bump version to 1.7.3
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
2024-09-07 10:51:58 +02:00
emanuele-f
ec8f4a3cac Remove unused strings 2024-09-07 10:51:48 +02:00
emanuele-f
90c8ae537a Catch possible SecurityException starting the VPN 2024-09-07 10:29:40 +02:00
emanuele-f
95686b1def Update dependencies 2024-09-07 10:18:30 +02:00
Oğuz Ersen
b1122772ad Update Turkish strings 2024-09-07 10:00:22 +02:00
大王叫我来巡山
e90e71091e Update Chinese (Simplified Han script) strings 2024-09-07 10:00:18 +02:00
Emanuele Faranda
1fd263c899 Update Italian strings 2024-09-07 10:00:14 +02:00
gallegonovato
c4ebaf696a Update Spanish strings 2024-09-07 10:00:07 +02:00
odkate918c013d81c448ce
8f2eb6394e Update Ukrainian strings 2024-09-07 09:57:23 +02:00
RyoidenshiAokigahara
5e51b05d1f Update Russian strings 2024-09-07 09:56:36 +02:00
Tri Susilo ✪
e2d8950cf6 Update Indonesian strings 2024-09-07 09:55:24 +02:00
Mario Herrmann
6ce6a80b5f Update German strings 2024-09-07 09:54:46 +02:00
jonnysemon
9c31f1777b Update Arabic strings 2024-09-07 09:53:01 +02:00
emanuele-f
6d6e7e001c Change "system default" string for consistency
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
Use the same string as the Android language selector
2024-09-02 20:32:20 +02:00
emanuele-f
883e99d120 Remove unfinished languages: fr, ja, ko, nb, pl, pt
Manually generate the locales_config.xml file, which is
currently needed when using resourceConfigurations
2024-09-02 20:23:53 +02:00
emanuele-f
8b6ae05ed1 Bump mitm addon version to 1.2
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
- Optionally request MANAGE_EXTERNAL_STORAGE for public write access
- Fix enabled addons sometimes reset
- Fix already-loaded addons not reloaded on changes
2024-08-19 13:10:25 +02:00
emanuele-f
94779ca6c9 Implement mitm addon compatibility logic
Semantic versioning is now used to detect if the installed
mitm addon is compatible with the current PCAPdroid version.
If yes, but a newer version is available, ask the user to
install the update but allow him to ignore it.

Closes #408
2024-08-17 16:49:25 +02:00
emanuele-f
bc61c0858b Fix two taps needed to close the app from Settings view
Some checks failed
Debug build / build (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
Test native code / test (push) Has been cancelled
Windows build / build (push) Has been cancelled
FLAG_ACTIVITY_NEW_TASK was incorrectly set, requiring pressing the
back button twice in order to close the app
2024-08-15 16:14:13 +02:00
emanuele-f
9436f9ec55 Add support for Android 33+ per-app language
On Android 33+, PCAPdroid now opens the system per-app language
selector. On previous versions, the in-app selector is used.

Closes #456
2024-08-15 16:02:08 +02:00
emanuele-f
80034e4711 Detect always-on VPN enabled after capture start
Hide the stop button in such a case

Closes #412
2024-08-15 14:38:10 +02:00
emanuele-f
c4331be97a Prevent possible OOB read in DNS reply parsing 2024-08-15 13:58:47 +02:00