Nex
9988887d27
Updated copyright notice
2023-09-09 17:55:27 +02:00
tek
a2ee46b8f8
Refactors dumpsys receiver parsing into an artifact
2023-08-08 20:23:09 +02:00
tek
e60e5fdc6e
Refactors DumpsysBatteryHistory and adds related androidqf module
2023-08-04 19:20:14 +02:00
tek
7e0e071c5d
Refactor DumpsysBatteryDaily module and add related artifact
2023-08-04 16:17:52 +02:00
tek
84dc13144d
Refactor DumpsysAppOps
2023-08-01 11:58:20 +02:00
tek
6356a4ff87
Refactor code of DumpsysDBInfo
2023-07-31 23:43:20 +02:00
tek
f96f2fe34a
refactor dumpsys package activity code
2023-07-31 18:38:41 +02:00
tek
4c175530a8
Refactor dumpsys accessibility in an artifact
2023-07-27 19:42:06 +02:00
Donncha Ó Cearbhaill
57d4aca72e
Refactor Android modules to remove duplication ( #368 )
...
* Remove duplicated detection logic from GetProp modules
* Deduplicate settings and processes
* Refactor detection in artifacts
* Improves Artifact class
---------
Co-authored-by: tek <tek@randhome.io>
2023-07-26 13:42:17 +02:00
Niclas Schwarzlose
1968a0fca2
Improve appops parsing in dumpsys ( #361 )
...
Without this change the package doesn't get properly reset when a new
user starts.
See for example in this excerpt:
```
1 | Package com.android.bluetooth:
2 | READ_CONTACTS (allow):
3 | null=[
4 | Access: [pers-s] 2022-04-22 13:24:17.577 (-277d5h22m53s447ms)
5 | ]
6 | WAKE_LOCK (allow):
7 | null=[
8 | Access: [pers-s] 2023-01-24 17:45:49.712 (-1m21s312ms) duration=+3ms
9 | ]
10 | GET_USAGE_STATS (default):
11 | null=[
12 | Reject: [pers-s]2022-04-22 13:23:53.964 (-277d5h23m17s60ms)
13 | ]
14 | BLUETOOTH_CONNECT (allow):
15 | null=[
16 | Access: [pers-s] 2022-04-22 13:23:53.988 (-277d5h23m17s36ms)
17 | ]
18 | Uid 1027:
19 | state=pers
20 | capability=LCMN
21 | appWidgetVisible=false
22 | LEGACY_STORAGE: mode=ignore
23 | Package com.android.nfc:
24 | WAKE_LOCK (allow):
25 | null=[
26 | Access: [pers-s] 2022-04-22 13:23:54.633 (-277d5h23m16s391ms) duration=+1s73ms
27 | ]
```
Here the package "com.android.bluetooth" is not reset when in line 18,
so when "LEGACY_STORAGE:" in line 22 is encountered, it's added as
another permission to "com.android.bluetooth" with "access" set to
"ode=igno".
This PR fixes that by resetting the package whenever a new Uid is
encountered.
Co-authored-by: Niclas Schwarzlose <niclas.schwarzlose@reporter-ohne-grenzen.de>
2023-07-10 22:53:58 +02:00
Nex
e1677639c4
Linted code using isort + autoflake + black, fixed wrong use of Optional[bool]
2023-06-01 23:40:26 +02:00
Tek
c8ae495971
Extract all messages from SMS and WhatsApp ( #337 )
2023-04-12 12:39:25 +02:00
tek
b5d7e528de
Adds indicators for android properties
2023-03-29 12:57:41 +02:00
tek
4ed8ff51ff
Improves code PEP8 compliance and adds ruff check
2023-03-01 16:43:08 -05:00
tek
55f6a4ae54
Fixes mypy typing issues
2023-02-21 15:18:36 -05:00
tek
81ed0b0c19
Update copyright information
2023-02-08 20:18:16 +01:00
tek
5356a399c9
Moves dumpsys parsing to android parsers and use the same parser for adb and bugreport modules
2022-08-17 18:24:51 +02:00
tek
5fe88098b9
Improves dumpsys battery history parsing
2022-08-16 18:57:18 +02:00
Nex
427a29c2b6
Pylint notes to ignore some lines too long
2022-08-16 16:09:59 +02:00
Nex
2781f33fb5
Added more date conversion wrappers
2022-08-13 14:04:10 +02:00
Nex
271fe5fbee
Continuing enforcement of line length and simplifying date conversions
2022-08-13 02:14:24 +02:00
Nex
a935347aed
Trying to enforce line lengths at 80/100
2022-08-12 19:14:05 +02:00
Nex
63ff5fd334
Started linting the code
2022-08-12 16:20:16 +02:00
tek
0622357a64
Adds support for MMS parsing in android backups
2022-06-23 11:05:04 +02:00
tek
5ade0657ac
Fixes an issue in Android backup parsing
2022-06-23 10:02:37 +02:00
Nex
2bc6fbef2f
Starting to add type hints
2022-06-17 22:30:46 +02:00
Nex
a12c4e6b93
First commit to refactor of command definitions
2022-06-15 17:41:19 +02:00
Nex
d82c788a18
Removed AUTHORS file in favor of explicit copyright notice
2022-05-08 14:53:50 +02:00
Nex
9d61b9048c
Fixed variable names mismatch and styling
2022-03-30 08:49:22 +02:00
tek
9950b3d6c2
Add appops dumpsys parser and modules
2022-03-30 01:16:22 +02:00
Nex
9bdef6ede4
Fixing spacing
2022-03-10 11:35:49 +01:00
Nex
fc9a27d030
Sorted imports
2022-03-10 11:33:54 +01:00
Donncha Ó Cearbhaill
ac26aa964a
Fix exception with bad password
2022-03-04 17:24:26 +01:00
Donncha Ó Cearbhaill
be511dcb51
Refactor SMS ADB code to use backup functions
2022-03-04 17:06:10 +01:00
Donncha Ó Cearbhaill
b44c67e699
Refactor some of the decryption code
2022-03-04 17:04:32 +01:00
tek
a4d08f8f35
Replaces pyaes with cryptography and reorganize backup parser code
2022-03-04 15:05:10 +01:00
tek
639c163297
Adds partial compression support in Android Backup parsing
2022-02-23 16:18:45 +01:00
tek
8eb30e3a02
Improves android backup parsing for check-backup and check-adb
2022-02-23 15:07:13 +01:00
Nex
fec6210d1b
Fixed parsing of dbinfo to support multiple formats
2022-02-03 20:36:47 +01:00
Nex
0e0e346916
Fixed issue in parsing batterystats daily
2022-02-03 13:36:08 +01:00
Nex
df42efb7cb
Added getprop parser
2022-02-02 22:07:47 +01:00
Nex
0922e569b0
Sorted imports
2022-02-02 22:00:48 +01:00
Nex
03092cf3b7
Attempting split of parsers
2022-02-02 21:58:11 +01:00