acecilia/OpenWRTInvasion

Couldn't unzip, the file is corrupt

Closed this issue · 2 comments

error:

start uploading config file...
{"code":1629,"msg":"Couldn't unzip, the file is corrupt"}

Firmware: MiWiFi Stable 3.0.16
I tried the exploit script v0.0.1 and v0.0.6. Both have same errors.

I am executing these scripts on WSL2.

V0.0.1
image

V0.0.6
image

Cant help much. This issue is usually due to a complex network configuration: try to simplify it. You can see other similar reported issues in this repository.

Yes, I understand now. I was able to successfully install openwrt. Thank you.

The issue is caused because the port 4444 exposed on PC might not be contactable from the router.

For the users experiencing the same issue:
When you start netcat, your pc starts listening at 4444. Then the exploit prepares a tar file with script and uploads it to the router. When the router executes the script, it tries connecting to the PC with the IP address provided to the script.

In my case, maybe the router wasn't able to connect to the netcat session. So I ran same thing on raspberry pi and it worked. May be because it didn't have any firewall configured. Also, you might wonder the stok doesn't work as it depends on the clients IP. I had SOCKS port forwarded (how-to-setup-ssh-socks-tunnel-for-private-browsing) from raspberry pi to firefox, logged into the router and got the stok.