Commit Graph

117 Commits

Author SHA1 Message Date
Will Greenberg
25e3d16e9f fix github workflows w/ new build config 2024-02-13 16:58:02 -08:00
Will Greenberg
a644620eaa Build x86-64 by default, fix make script to build for ARM 2024-02-13 16:56:49 -08:00
Will Greenberg
dbd6063b8c rayhunter_daemon: use updated rayhunter binary name 2024-02-13 13:50:11 -08:00
Will Greenberg
d8879c357f make.sh: use updated binary name 2024-02-13 13:48:21 -08:00
Will Greenberg
923d1c1e35 rename binary to rayhunter-daemon 2024-02-13 11:09:15 -08:00
Will Greenberg
fd3931f024 Merge pull request #30 from EFForg/bootstrap
Add bootstrapping support
2024-02-01 13:04:16 -08:00
Cooper Quintin
c869353e05 updating readme with new install instructions 2024-01-31 22:16:49 -08:00
Cooper Quintin
b6a0ad6bdc fixing bugs in install script 2024-01-31 22:00:25 -08:00
Cooper Quintin
71d7b90dd9 update installer 2024-01-31 18:18:42 -08:00
Cooper Quintin
42ddb7cbff merge main 2024-01-31 17:52:49 -08:00
Cooper Quintin
b495c5b5a4 Merge pull request #35 from EFForg/generic-dirs
Generic dirs
2024-01-30 10:22:24 -08:00
Will Greenberg
ed9d2b41d7 Renamed library crate to rayhunter, binary to rayhunter-daemon
The produced binary is still called rayhunter though!
2024-01-30 10:18:38 -08:00
Will Greenberg
87f18c0c8b Rename directories (again) 2024-01-30 09:58:05 -08:00
Will Greenberg
c3d9fb742e Merge pull request #34 from EFForg/heuristics
Heuristics
2024-01-30 09:46:43 -08:00
Cooper Quintin
a23fc55dbc the great rename 2024-01-29 17:09:41 -08:00
Cooper Quintin
6194c27968 directory move 2024-01-29 17:06:15 -08:00
Cooper Quintin
797a44b61d fix tests for now until we do the big rename 2024-01-29 16:59:24 -08:00
Cooper Quintin
2886a94c5b Merge branch 'main' into heuristics 2024-01-29 16:48:52 -08:00
Cooper Quintin
4d2fa02b0a Update rust.yml 2024-01-29 16:46:20 -08:00
Cooper Quintin
50c7a66254 appease clippy 2024-01-29 16:44:03 -08:00
Cooper Quintin
6086a9962c fix config 2024-01-26 17:05:03 -08:00
Cooper Quintin
d81299aca7 fix config 2024-01-26 17:03:06 -08:00
Cooper Quintin
66342307bc update scripts and makefile 2024-01-26 17:01:06 -08:00
Cooper Quintin
c532c74a82 Create rust.yml
create file for github CI
2024-01-26 16:58:41 -08:00
Cooper Quintin
f1f31c36ca update readme and cargo 2024-01-26 16:57:46 -08:00
Cooper Quintin
28d9377a08 slight cleanup 2024-01-19 15:32:01 -08:00
Will Greenberg
3b34220631 Merge pull request #33 from EFForg/docs
Docs
2024-01-16 13:43:07 -08:00
Cooper Quintin
64bcd32aeb Merge branch 'main' into docs 2024-01-12 16:44:54 -08:00
Cooper Quintin
c343d5d9a9 update readme and config.toml 2024-01-12 16:42:13 -08:00
Cooper Quintin
122961c18f Merge pull request #32 from EFForg/qmdl-storage
wavehunter: add QMDL storage
2024-01-12 16:21:49 -08:00
Matthew Garrett
01f65cdc13 Merge remote-tracking branch 'origin/main' 2024-01-10 20:30:40 -08:00
Matthew Garrett
23edacc877 Make more idiomatic 2024-01-10 20:28:14 -08:00
Will Greenberg
a977cc69e5 wavehunter: add comments 2024-01-10 17:04:09 -08:00
Will Greenberg
7b972ef5e4 wavehunter: add QMDL storage
Instead of reading/writing to a single QMDL file, we now can manage
a directory of several files, and have the ability to start/stop writing
to them on the fly.

This commit also adds graceful exiting to the server, so we can perform
cleanup steps when the server's exiting.
2024-01-10 16:37:17 -08:00
Matthew Garrett
ea84d74f9d Some fixes
Ensure the mode switch works, and handle broken pipe failures. Also handle
devices that are in diag+rndis mode.
2024-01-10 15:13:28 -08:00
Matthew Garrett
4d39248bf9 Add bootstrapping support
Add tools for launching a root shell on the device, and for sending
serial commands to the device. Extend the make.sh script to push those
and configure a root shell. Commands can now be executed as root via:

adb shell rootshell -c \"touch /tmp/test\"

allowing automatic configuration of the tooling.
2024-01-07 19:45:15 -08:00
Cooper Quintin
3d869971d9 Merge pull request #23 from EFForg/landing-page
wavehunter: adds static server, system stats
2024-01-05 16:47:05 -08:00
Cooper Quintin
1b07e3bfeb update readme and scirpts 2024-01-05 16:44:19 -08:00
Cooper Quintin
7a6a61744b update make.sh to release version 2024-01-05 16:22:58 -08:00
Will Greenberg
c3d6227243 index.html: periodically update system stats 2024-01-05 10:55:16 -08:00
Will Greenberg
fe0e84ba18 wavehunter: adds static server, system stats
This commit does a couple things:

1. breaks out the pcap streaming logic into its own module
2. bundles wavehunter/static files into the binary for easy distribution
3. serves those static files
4. serves dynamic json representing system and diag stats

I also threw together the world's ugliest website to display all this.
2024-01-04 19:41:19 -08:00
Cooper Quintin
dea1d17337 Merge pull request #17 from EFForg/http-server
Http server, lots more testing, and more!
2024-01-04 14:10:53 -08:00
Will Greenberg
7037928a6e wavehunter: add route to serve qmdl file
This is easier than pulling files via adb
2024-01-03 11:29:58 -08:00
Will Greenberg
84f2fc1751 wavehunter: add some debug logging for blocking calls
This may come in handy if the read/write loop ever gets stuck.
2024-01-03 11:29:58 -08:00
Will Greenberg
13e0ed2679 Appease clippy 2024-01-03 11:29:58 -08:00
Will Greenberg
65b41bd541 wavehunter: add debug mode
This just runs the server off of a QMDL file, so we can run/test
the server locally w/o the Qualcomm hardware
2024-01-03 11:29:58 -08:00
Will Greenberg
4d80f992ac pcap: fix timestamp values 2024-01-03 11:29:58 -08:00
Will Greenberg
aa0f044b8a wavehunter: split out code into different modules 2024-01-03 11:29:58 -08:00
Will Greenberg
f4caac147b Renaming wavehunter -> orca 2024-01-03 11:29:58 -08:00
Will Greenberg
e20fe92213 Refactor lib/binary into separate crates 2024-01-03 11:29:58 -08:00