acecilia / OpenWRTInvasion

Root shell exploit for several Xiaomi routers: 4A Gigabit, 4A 100M, 4, 4C, 3Gv2, 4Q, miWifi 3C...
1.53k stars 279 forks source link

When running in docker on windows, wrong stok seems to be detected #133

Closed schweini closed 2 years ago

schweini commented 2 years ago

I can;t seem to get this to work - I run this following the windows/docker instructions. I don't get any errors, but can't connect via telnet, ssh or any other means after running this.

I did notice however that the stok shown in the script output differs completely from the stok seen in the browser URL of the UI. I hace seen that this might be IP related, but I am running the commands on the same PC where I am running the docker commands.

Maybe some issue with the docker-ed script in combination with the seemingly recent change of auto-detecting the stok?

BrilliantStanley commented 2 years ago

Same for me

marianomd commented 2 years ago

Similar here, 4A gigabit, MiWiFi Release 3.0.24.

Xiaomi router not found...
You need to get the stok manually, then input the stok here:

I enter it manually, and after the process ends, no telnet or ssh port are open.

Tried with and without docker.

Maybe this version is patched?

Could be related to this: https://forum.openwrt.org/t/new-xiaomi-4c-cannot-install-openwrt-flash-chip-changed-to-en25qx128a/123634/3

Will check mine and report later.

marianomd commented 2 years ago

My flash: GigaDevice GD25Q128E

Seems someone managed to flash OpenWRT using other tools on this version of the router. But no time yet to investigate that path: link

RadioOperator commented 2 years ago

re-try it on a pure ubuntu PC.

marianomd commented 2 years ago

I managed to flash OpenWRT and Padavan with this solution.

acecilia commented 2 years ago

Closing due to inactivity. I would suggest to just pass the stok manually