Commit Graph

1101 Commits

Author SHA1 Message Date
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
Cooper Quintin
aa730f3c18 add EFF logo as an option 2024-06-14 14:15:41 -07:00
Cooper Quintin
bf1bb37150 reformat images for display to save space 2024-06-14 14:01:09 -07:00
Cooper Quintin
54dd952ebd refactor display code 2024-06-14 14:00:46 -07:00
Cooper Quintin
e31bccb229 draw_line method added to framebuffer 2024-06-13 17:20:25 -07:00
Cooper Quintin
8365cb5706 send bytes to framebuffer instead of image 2024-06-12 17:04:47 -07:00
Cooper Quintin
31233560cc Update bin/src/framebuffer.rs
Co-authored-by: Will Greenberg <willg@eff.org>
2024-06-12 14:51:41 -07:00
Cooper Quintin
b2d8b7d5f3 Update bin/src/framebuffer.rs
Co-authored-by: Will Greenberg <willg@eff.org>
2024-06-12 14:51:32 -07:00
Cooper Quintin
5fa35cb972 update example config 2024-06-12 08:54:45 -07:00
Cooper Quintin
de8cf51649 add config and read files from binary 2024-06-11 16:46:47 -07:00
Cooper Quintin
81f545e90e respect ctrl c in image display loop 2024-06-10 13:28:36 -07:00
Will Greenberg
3c9862f3d9 Update README.md
While parts of the diag parsing code are based on QCSuper, that now composes such a small portion of the codebase that I think we can remove this
2024-06-10 12:10:58 -07:00
Cooper Quintin
185f9a3a96 Merge branch 'main' into framebuffer 2024-06-07 16:31:17 -07:00
Cooper Quintin
46cd8a9af0 poc of image drawing 2024-06-07 16:30:22 -07:00
Cooper Quintin
2ab48875ba make framebuffer crate and call it 2024-06-07 13:30:33 -07:00
Will Greenberg
6a6109c391 Merge pull request #40 from EFForg/documentation
Documentation
2024-06-06 16:32:15 -07:00
Cooper Quintin
c21990074a nits 2024-06-06 13:57:18 -07:00
Cooper Quintin
f2df4798a9 Merge branch 'workflows' into documentation 2024-06-06 13:51:10 -07:00
Cooper Quintin
929b8fa5f3 commit to naming 2024-06-06 13:22:05 -07:00
Cooper Quintin
f261940a26 Merge branch 'main' into documentation 2024-06-06 13:06:49 -07:00
Cooper Quintin
dfd8138e21 Merge pull request #43 from EFForg/webui-heuristics
daemon: run analysis in realtime
2024-06-06 12:58:54 -07:00