diff --git a/README.md b/README.md index d10ff20..f1c4301 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,21 @@ -# Wave Hunter +# Orca ``` -@@@ @@@ @@@ @@@@@@ @@@ @@@ @@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@ @@@@@@@ @@@@@@@@ @@@@@@@ -@@! @@! @@! @@! @@@ @@! @@@ @@! @@! @@@ @@! @@@ @@!@!@@@ @!! @@! @@! @@@ -@!! !!@ @!@ @!@!@!@! @!@ !@! @!!!:! @!@!@!@! @!@ !@! @!@@!!@! @!! @!!!:! @!@!!@! - !: !!: !! !!: !!! !: .:! !!: !!: !!! !!: !!! !!: !!! !!: !!: !!: :!! - ::.: ::: : : : :: : :: :: : : : :.:: : :: : : : :: :: : : : + + + u. .u . + ...ue888b .d88B :@8c . u + 888R Y888r ="8888f8888r .udR88N us888u. + 888R I888> 4888>'88" <888'888k .@88 "8888" + 888R I888> 4888> ' 9888 'Y" 9888 9888 + 888R I888> 4888> 9888 9888 9888 +u8888cJ888 .d888L .+ 9888 9888 9888 + "*888*P" ^"8888*" ?8888u../ 9888 9888 + 'Y" "Y" "8888P' "888*""888" + "P' ^Y" ^Y' + + +Orca Realtime Cellular Analysis _ _ _ _ _ _ _ _ )`'-.,_)`'-.,_)`'-.,_)`'-.,_)`'-.,_)`'-.,_)`'-.,_)`'-.,_ @@ -25,3 +35,16 @@ _ _ _ _ _ _ _ _ ``` diag helper binary for the Orbic mobile hotspot. Based on code from [QCSuper](https://github.com/P1sec/QCSuper) + +Build for arm using `cargo build` or just use the makefile + +Run tests using `cargo test_pc` + +## Setup +Root your device using the instructions here: https://xdaforums.com/t/resetting-verizon-orbic-speed-rc400l-firmware-flash-kajeet.4334899/#post-87855183 + +Push the scripts in `scripts/` to /etc/init.d on device and make a directory called /data/wavehunter using `adb shell` (and sshell for your root shell if you followed the steps above) + +you also need to copy `config.toml.example` to /data/wavehunter/config.toml + +Then run ./make.sh this will build the binary and push it over adb. Restart your device or run `/etc/init.d wavehunter_daemon start` on the device and you are good to go. diff --git a/config.toml.example b/config.toml.example new file mode 100644 index 0000000..b8da6ac --- /dev/null +++ b/config.toml.example @@ -0,0 +1,3 @@ +# cat config.toml +port = 8080 +qmdl_path = "wavehunter.qmdl" diff --git a/scripts/wavehunter_daemon b/scripts/wavehunter_daemon index da469c4..7a6c0b9 100644 --- a/scripts/wavehunter_daemon +++ b/scripts/wavehunter_daemon @@ -6,7 +6,7 @@ case "$1" in start) echo -n "Starting wavehunter: " start-stop-daemon -S -b --make-pidfile --pidfile /tmp/wavehunter.pid \ - --startas /bin/bash -- -c "exec /data/wavehunter/wavehunter > /data/wavehunter/wavehunter.log 2>&1" + --startas /bin/bash -- -c "exec /data/wavehunter/wavehunter /data/wavehunter/config.toml > /data/wavehunter/wavehunter.log 2>&1" echo "done" ;; stop)