mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-29 21:39:26 -07:00
uz801: Fix installer defaults, fix docs for admin IP
This commit is contained in:
@@ -32,10 +32,10 @@ Connect to the UZ801's network over WiFi or USB tethering.
|
||||
The UZ801 uses a unique installation process that activates a hidden USB debugging backdoor:
|
||||
|
||||
```sh
|
||||
./installer uz801 --admin-ip 192.168.100.1
|
||||
./installer uz801
|
||||
```
|
||||
|
||||
Note: The default admin IP for UZ801 is typically `192.168.100.1` instead of `192.168.0.1`.
|
||||
Note: The default IP for UZ801 is typically `192.168.100.1`; if yours differs, use the `--admin-ip` argument to specify it.
|
||||
|
||||
The installation process works as follows:
|
||||
1. Activates the USB debugging backdoor via HTTP request to `/usbdebug.html`
|
||||
|
||||
@@ -123,12 +123,8 @@ struct TmobileArgs {
|
||||
#[derive(Parser, Debug)]
|
||||
struct Uz801Args {
|
||||
/// IP address for Uz801 admin interface, if custom.
|
||||
#[arg(long, default_value = "192.168.0.1")]
|
||||
admin_ip: String,
|
||||
|
||||
/// Web portal admin password.
|
||||
#[arg(long)]
|
||||
admin_password: String,
|
||||
#[arg(long, default_value = "192.168.100.1")]
|
||||
admin_ip: String
|
||||
}
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
|
||||
@@ -18,7 +18,6 @@ use crate::util::echo;
|
||||
pub async fn install(
|
||||
Args {
|
||||
admin_ip,
|
||||
admin_password: _, // Not used for Uz801
|
||||
}: Args,
|
||||
) -> Result<()> {
|
||||
run_install(admin_ip).await
|
||||
|
||||
Reference in New Issue
Block a user