Commit Graph

671 Commits

Author SHA1 Message Date
Will Greenberg
2cc8404b13 rm unused windows build 2024-10-22 14:35:48 -07:00
Will Greenberg
35ae2962f2 fix build script 2024-10-22 14:35:48 -07:00
Will Greenberg
1134361cca fix build-release 2024-10-22 13:30:34 -07:00
Cooper Quintin
bec680f93d fix release script 2024-10-22 12:51:40 -07:00
Cooper Quintin
968af93b69 fix nits (#68) 2024-10-22 12:43:11 -07:00
Cooper Quintin
ee75326912 Fix macos install (#67)
* update shell path and some docs

* download ADB if not present

* big O not little o

* bugfix

* bugfix

* silence errors for macos developers

* Update dist/install-common.sh

Co-authored-by: Will Greenberg <willg@eff.org>

---------

Co-authored-by: Will Greenberg <willg@eff.org>
2024-10-22 12:21:27 -07:00
will
3b9a001e88 Update readme to ensure adb is in PATH 2024-10-18 11:49:47 -07:00
will
78d33b2cff serial: claim USB interface
Without doing this, it seems macOS can't use any interface endpoints.
Also disconnect any kernel extensions that're using the interface,
since that can cause issues on macOS as well.
2024-10-18 09:43:12 -07:00
Will Greenberg
6c237e884c lib: rm duplicate TestAnalyzer 2024-10-10 12:41:25 -07:00
Will Greenberg
f3e4091e1d daemon: fix some bugs in the frontend js 2024-10-08 14:58:46 -07:00
Will Greenberg
16f705f29c Add the test analyzer entirely via daemon flags
Also consolidate the duplicate AnalysisWriter implementation
2024-10-08 14:58:46 -07:00
Cooper Quintin
a6fce6d568 fix bug where warnings not displayed 2024-10-08 14:58:46 -07:00
Will Greenberg
fcac6fdf16 Fix broken yaml 2024-10-08 14:58:46 -07:00
Will Greenberg
df84faa1f9 On-demand analysis of past recordings
* rayhunter-daemon: API for triggering and reading analysis
* rayhunter-daemon: rename readonly mode to debug mode
* rayhunter-daemon: debug mode allows live-loading frontend files
* rayhunter-check: rework to handle directories
* rayhunter-check: better output
* CI: build rayhunter-check
2024-10-08 14:58:46 -07:00
Cooper Quintin
c59fb7c013 Fix UI and add more logging (#61)
* add some more logging

* WIP attempt to fix async on update_ui

* fix async for update_ui
2024-10-03 13:32:59 -07:00
Cooper Quintin
ca4f49b15f Framebuffer update (#60)
* first pass at changing the UI color based on state

* adding flag to qmdl metadata for when hueristic is triggered

* update style for web page to match UI and have color alert on heuristic trigger

* add test analyzer

* rename example_analyzer to test_analyzer

* refactor ui update to not depend on server

* refactor to pass around color instead of display state for framebuffer channel

* add debug feature flag for test analyzer

* remove warning status from qmdl manifest

* dont keep has warning around
2024-10-03 10:41:59 -07:00
Will Greenberg
861aaedd47 rayhunter-check improvements 2024-08-19 16:49:01 -07:00
Will Greenberg
f6681a3703 Merge pull request #54 from EFForg/mac-bugfix
bugfix for mac install process
v0.1.2
2024-08-05 10:11:59 -07:00
Cooper Quintin
d6bc307a81 bugfix for mac install process 2024-08-05 10:10:41 -07:00
Will Greenberg
7cbb3369d8 serial: when rooting, don't panic if device is already rooted 2024-08-05 09:57:09 -07:00
Will Greenberg
cb3dbff54a install-common: wait for atfwd_daemon to startup
We can't successfully run any AT commands until it has.
2024-08-05 09:57:09 -07:00
Will Greenberg
65e1cd4967 serial: split out --root process, don't wait for reboot, update usage text
We need to wait for atfwd_daemon to startup before sending any AT
commands, and I can't think of a way to reliably do that within rust.
So, instead of trying to switch the device to command mode before
executing a command, require the user to run the "--root" step
beforehand, and then start executing AT commands.
2024-08-05 09:57:09 -07:00
Will Greenberg
d6fb54afb3 lib: rm unused imports 2024-08-05 09:57:09 -07:00
Will Greenberg
bc93c01890 bin: rm deprecated tempdir crate 2024-08-05 09:57:09 -07:00
Will Greenberg
be2d70325d Merge pull request #52 from EFForg/update-docs
fix timeout bug in rooting script and update docs
v0.1.1
2024-08-02 14:46:51 -07:00
Cooper Quintin
5c4bd161fa fix timeout bug in rooting script and update docs 2024-08-02 14:45:55 -07:00
Will Greenberg
3006871c27 rootshell: add some more comments explaining the magic GIDs v0.1.0 2024-08-02 12:42:32 -07:00
Will Greenberg
fd1879d70a rm debug print from install script 2024-08-02 12:42:32 -07:00
Will Greenberg
f18b993df3 Cleanup rootshell, add better setup/testing to install script 2024-08-02 12:42:32 -07:00
Will Greenberg
8e256b6455 rootshell: use seteuid/setegid instead
This is also what sshell does.
2024-08-02 12:42:32 -07:00
Will Greenberg
a5b784c259 release: make the daemon executable 2024-08-02 12:42:32 -07:00
Will Greenberg
0237cb799b rootshell: use magic Android GIDs to access sockets
Android kernels with CONFIG_ANDROID_PARANOID_NETWORK extensions set
require users to have a few special group IDs before getting network
access. Unfortunately, we need to use nightly to get access to the
.groups() method.
2024-08-02 12:42:32 -07:00
Will Greenberg
25fa4aa0c1 release: make serial binaries executable 2024-08-02 12:42:32 -07:00
Will Greenberg
08698e27da Run build-release on release-* branches 2024-08-02 12:42:32 -07:00
Will Greenberg
dc84238b1e tools: gitignore python detritus 2024-08-02 12:42:32 -07:00
Will Greenberg
ff1f9a6857 Release fixes 2024-08-02 12:42:32 -07:00
Cooper Quintin
af3e47aaf0 Merge pull request #50 from EFForg/imsi-analyzer
IMSI provided + null cipher analyzer
2024-07-19 16:05:44 -07:00
Will Greenberg
09fdb9d6e1 lib: add analyzer for a null cipher being set 2024-07-18 16:02:12 -07:00
Will Greenberg
2334148aec asn1grep: clean up output a bit 2024-07-18 16:01:54 -07:00
Will Greenberg
3cafb97833 Merge pull request #48 from EFForg/dependabot/cargo/h2-0.4.5
Bump h2 from 0.4.2 to 0.4.5
2024-07-10 20:29:41 -07:00
Will Greenberg
a17e70961e Merge pull request #49 from EFForg/dependabot/cargo/mio-0.8.11
Bump mio from 0.8.10 to 0.8.11
2024-07-10 20:29:25 -07:00
Will Greenberg
b5262cd1b9 lib: use ImsiProvidedAnalyzer by default 2024-07-10 20:28:33 -07:00
Will Greenberg
8f7ac607a7 lib: add analyzer for detecting IMSIs being sent 2024-07-10 20:24:52 -07:00
Will Greenberg
93cd21a588 Add asn1grep tool
Scrolling through the ASN.1 files for datatypes is a nightmare, so I
wrote a script to automate that
2024-07-10 20:24:15 -07:00
dependabot[bot]
d6b421030f Bump mio from 0.8.10 to 0.8.11
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 01:13:42 +00:00
dependabot[bot]
80942064a2 Bump h2 from 0.4.2 to 0.4.5
Bumps [h2](https://github.com/hyperium/h2) from 0.4.2 to 0.4.5.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.4.2...v0.4.5)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 01:13:37 +00:00
Will Greenberg
dd48d8964f Merge pull request #46 from EFForg/framebuffer
Device screen UI
2024-06-17 18:12:35 -07:00
Cooper Quintin
60cbdefb29 minor fixes 2024-06-17 16:18:55 -07:00
Cooper Quintin
ebdd32ad5f Update bin/src/daemon.rs
Co-authored-by: Will Greenberg <willg@eff.org>
2024-06-17 15:32:42 -07:00
Cooper Quintin
a9842fcadb Apply suggestions from code review
Co-authored-by: Will Greenberg <willg@eff.org>
2024-06-17 11:46:01 -07:00