Skip to content

Commit 624be73

Browse files
committed
Update documentation and fix broken links
* Add a new configuration page and move content out from TP-Link. The Configuration section in TP-Link is duplicating what is already in config.toml.example, and given that we have recently added a lot of new options I don't want to maintain multiple copies. * Lots of anchor links were broken since we moved docs from README into mdbook. Fix them all. * Document that the key input feature is disabled since 0.4.0. * Smaller cosmetic changes: * Make TP-Link M7350 page consistent with TP-Link M7310 page. * Fix indentation on some bullet points. * Center-align the rayhunter logo in introduction.md to calm my soul. It is still misaligned with the page title above itself. * Add "edit on github" link in mdbook settings.
1 parent 0b05d16 commit 624be73

10 files changed

+31
-24
lines changed

book.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ authors = ["The Rayhunter Team"]
33
language = "en"
44
src = "doc"
55
title = "Rayhunter - An IMSI Catcher Catcher"
6+
7+
[output.html]
8+
edit-url-template = "https://github.com/efforg/rayhunter/edit/main/{path}"

doc/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- [Installing from the latest release (Windows)](./installing-from-release-windows.md)
77
- [Installing from source](./installing-from-source.md)
88
- [Updating Rayhunter](./updating-rayhunter.md)
9+
- [Configuration](./configuration.md)
910
- [Uninstalling](./uninstalling.md)
1011
- [Using Rayhunter](./using-rayhunter.md)
1112
- [Rayhunter's heuristics](./heuristics.md)

doc/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Configuration
2+
3+
Rayhunter can be configured by editing `/data/rayhunter/config.toml` on the device. You can obtain a shell on [orbic](./orbic.md#obtaining-a-shell) and [tplink](./tplink-m7350.md#obtaining-a-shell) and edit the file manually. In future versions the web UI will allow you to edit the config as well.
4+
5+
View the [default configuration file on GitHub](https://github.com/EFForg/rayhunter/blob/main/dist/config.toml.example).

doc/heuristics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Heuristics
22

3-
Rayhunter includes several analyzers to detect potential IMSI catcher activity. These can be enabled and disabled in your [config.toml](https://github.com/EFForg/rayhunter/blob/main/dist/config.toml.example) file.
3+
Rayhunter includes several analyzers to detect potential IMSI catcher activity. These can be enabled and disabled in your [config.toml](./configuration.md) file.
44

55
## Available Analyzers
66

doc/installing-from-release-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Windows support in Rayhunter's installer is a work-in-progress. Depending on the
2929
5. Run the install script: `.\installer.exe orbic` and hit enter.
3030
- The device will restart multiple times over the next few minutes.
3131
- You will know it is done when you see terminal output that says `checking for rayhunter server...success!`
32-
6. Rayhunter should now be running! You can verify this by following the instructions below to [view the web UI](#usage-viewing-the-web-ui). You should also see a green line flash along the top of top the display on the device.
32+
6. Rayhunter should now be running! You can verify this by following the instructions below to [view the web UI](./using-rayhunter.md#the-web-ui). You should also see a green line flash along the top of top the display on the device.

doc/installing-from-release.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Make sure you've got one of Rayhunter's [supported devices](./supported-devices.
1212

1313
3. Turn on your device by holding the power button on the front.
1414

15-
* For the Orbic, connect the device using a USB-C cable.
16-
* For TP-Link, connect to its network using either WiFi or USB Tethering.
15+
* For the Orbic, connect the device using a USB-C cable.
16+
* For TP-Link, connect to its network using either WiFi or USB Tethering.
1717

1818
4. Run the install script for your operating system:
1919

@@ -38,7 +38,7 @@ Make sure you've got one of Rayhunter's [supported devices](./supported-devices.
3838

3939
You will know it is done when you see terminal output that says `Testing Rayhunter... done`
4040

41-
5. Rayhunter should now be running! You can verify this by [viewing Rayhunter's web UI](./using-rayhunter). You should also see a green line flash along the top of top the display on the device.
41+
5. Rayhunter should now be running! You can verify this by [viewing Rayhunter's web UI](./using-rayhunter.md). You should also see a green line flash along the top of top the display on the device.
4242
4343
## Troubleshooting
4444

doc/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
![Rayhunter Logo - An Orca taking a bite out of a cellular signal bar](https://www.eff.org/files/styles/media_browser_preview/public/banner_library/rayhunter-banner.png)
2-
31
# Rayhunter
42

3+
<img style="display: block; margin: 0 auto" alt="Rayhunter Logo - An Orca taking a bite out of a cellular signal bar" src="https://www.eff.org/files/styles/media_browser_preview/public/banner_library/rayhunter-banner.png" />
4+
55
Rayhunter is a project for detecting IMSI catchers, also known as cell-site simulators or stingrays. It's designed to run on a cheap mobile hotspot called the Orbic RC400L, but thanks to community efforts can [support some other devices as well](./supported-devices.md).
66

77
It's also designed to be as easy to install and use as possible, regardless of you level of technical skills. This guide should provide you all you need to acquire a compatible device, install Rayhunter, and start catching IMSI catchers.

doc/orbic.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ or on [eBay](https://www.ebay.com/sch/i.html?_nkw=orbic+rc400l).
1818
| Wifi 2.4Ghz | b/g/n |
1919
| Wifi 5Ghz | a/ac/ax |
2020
| Wifi 6 | 🮱 |
21+
22+
## Obtaining a shell
23+
24+
After running through the installation procedure, you can obtain a root shell
25+
by running `adb shell` or `./installer util shell`. Then, inside of that shell
26+
you can run `/bin/rootshell` to obtain "fakeroot."

doc/tplink-m7350.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# TP-Link M7350
22

3-
The TP-Link M7350 is supported by Rayhunter from 0.3.0 release. TP-Link M7350 supports many more frequency bands than Orbic and therefore works in Europe and also in some Asian and African countries.
3+
The TP-Link M7350 is **supported by Rayhunter since 0.3.0**. TP-Link M7350 supports many more frequency bands than Orbic and therefore works in Europe and also in some Asian and African countries.
44

55
## Hardware versions
66

77
The TP-Link comes in many different *hardware versions*. Support for installation varies:
88

9-
* `1.0`, `2.0`: **Not suported**, probably impossible to obtain anymore (even second-hand), however there is one report that installation is possible on `1.0` (but no reports if it is working or not)
9+
* `1.0`, `2.0`: **Not supported**, devs are not able to obtain a device
1010
* `3.0`, `3.2`, `5.0`, `5.2`, `7.0`, `8.0`: **Tested, no known issues since 0.3.0.**
11-
* `6.2`: **One user reported it is working**
11+
* `6.2`: **One user reported it is working, not tested**
1212
* `4.0`: **Manual firmware downgrade required** ([issue](https://github.com/EFForg/rayhunter/issues/332))
1313
* `9.0`: **Working since 0.3.2.**
1414

@@ -20,14 +20,16 @@ When filing bug reports, particularly with the installer, please always specify
2020

2121
You can get your TP-Link M7350 from:
2222

23-
* First check for used offers on Ebay or equivalent, sometimes it's much cheaper there.
23+
* First check for used offers on local sites, sometimes it's much cheaper there.
2424
* [Geizhals price comparison](https://geizhals.eu/?fs=tp-link+m7350)
2525
* [Ebay](https://www.ebay.com/sch/i.html?_nkw=tp-link+m7350&_sacat=0&_from=R40&_trksid=p4432023.m570.l1313)
2626

2727
## Installation & Usage
2828

2929
Follow the [release installation guide](./installing-from-release.md). Substitute `./installer orbic` for `./installer tplink` in other documentation. The Rayhunter UI will be available at [http://192.168.0.1:8080](http://192.168.0.1:8080).
3030

31+
## Obtaining a shell
32+
3133
Unlike on Orbic, the installer will not enable ADB. Instead, you can obtain a root shell with the following command:
3234

3335
```sh
@@ -45,18 +47,6 @@ If your device has a one-bit (black-and-white) display, Rayhunter will instead s
4547
* `:)` (smiling) means "recording"
4648
* `:` (face with no mouth) means "paused"
4749

48-
## Configuration
49-
50-
Displaying status can be changed in the configuration (`config.toml`) file, where UI level (`ui_level` variable) could be changed to:
51-
- `0`: invisible mode, no indicator that Rayhunter is running
52-
- `1`: subtle mode, display a green line at the top of the screen when Rayhunter is running
53-
- `2`: demo mode, display a fun Orca GIF
54-
- `3`: display the EFF logo
55-
56-
You can also change `colorblind_mode` (default is `false`) to `true`. In that case there will be blue line instead of green line.
57-
58-
You can change the `port` (default is `8080`) where Rayhunter is listening for incoming connections and more advanced users can change the variables `qmdl_store_path` and `debug_mode`. However, change those variables only if you know what you are doing.
59-
6050
## Power-saving mode/sleep
6151

6252
By default the device will go to sleep after N minutes of no devices being connected. In that mode it will also turn off connections to cell phone towers.

doc/using-rayhunter.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Using Rayhunter
22

3-
Once installed, Rayhunter will run automatically whenever your device is running. You'll see a green line on top of the device's display to indicate that it's running and recording. [The line will turn red](#red) once a potential IMSI catcher has been found, until the device is rebooted or a new recording is started through the web UI.
3+
Once installed, Rayhunter will run automatically whenever your device is running. You'll see a green line on top of the device's display to indicate that it's running and recording. [The line will turn red](./faq.md#red) once a potential IMSI catcher has been found, until the device is rebooted or a new recording is started through the web UI.
44

55
![Rayhunter_0 3 2](./Rayhunter_0.3.2.png)
66

@@ -29,3 +29,5 @@ You can access this UI in one of two ways:
2929
## Key shortcuts
3030

3131
As of 0.3.3, you can start a new recording by double-tapping the power button. Any current recording will be stopped and a new recording will be started, resetting the red line as well.
32+
33+
**This feature is disabled by default since 0.4.0** and needs to be enabled through [configuration](./configuration.md).

0 commit comments

Comments
 (0)