# acecilia/OpenWRTInvasion

Root shell exploit for several Xiaomi routers: 4A Gigabit, 4A 100M, 4, 4C, 3Gv2, 4Q, miWifi 3C...

Repository: https://github.com/acecilia/OpenWRTInvasion
Canonical: https://ross.abutalabs.com/products/openwrtinvasion
Language: Lua
License Family: other
Topics: openwrt, xiaomi, routers, firmware, 4a-gigabit, xiaomi-routers, miwifi-3c, router
Last push: 2023-12-10T23:27:41+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2359, "days_push": 997, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1791, forks 291 (observed 2026-08-28T04:05:37.016950+00:00)

## What it is
A Python/Docker-based exploit script that gains a root shell on several Xiaomi routers (4A Gigabit, 4A 100M, 4, 4C, 3Gv2, 4Q, miWifi 3C) via a remote command execution vulnerability. It is primarily used to install OpenWrt firmware on affected devices by enabling telnet and FTP access.

## Use cases
- root my xiaomi 4a gigabit router
- install openwrt on xiaomi mi router 4c
- get root shell access on miwifi 3c
- unlock telnet on xiaomi router firmware
- flash custom firmware on xiaomi 4a 100m
- exploit remote command execution on xiaomi router

## When to choose
- you own a supported Xiaomi router model and firmware version and want to install OpenWrt
- you need root/telnet access to a Xiaomi router for research or customization
- you want a scripted, documented exploit with Docker support for Windows users

## When to avoid
- your router model or firmware version is not in the supported list
- you need a tool that runs natively on Windows without Docker
- your router is in AP mode or lacks internet access and you cannot use version 0.0.1
- you are looking for a general-purpose router security scanner rather than a specific exploit

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing, cli
- domain: security, networking, developer-tools, self-hosted
- platform: python, cli
- tags: router-exploit, xiaomi, openwrt, firmware, root-shell, telnet, vulnerability-exploit, linux, macos, docker

## Member repositories
- acecilia/OpenWRTInvasion (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.016950+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:23:03.485230+00:00, confidence not recorded.
  - readme: https://github.com/acecilia/OpenWRTInvasion (fetched 2026-08-28T04:05:37.016950+00:00, sha 52f2578de5ab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
