This tiny Python script helps brute-forcing ZTE F660 optical modem WebGUI to acquire admin rights. Built-in credentials are known to be used by Antel, an Uruguayan fiber optic provider.
The Wi-Fi module of ZTE F660 can't provide speeds above 20-30 Mbps, which is ridiculous having 400 Mbps fiber. Optical modems are not as easy to replace as regular routers. So, the most optimal solution is to configure the ISP modem to the bridge mode and use something more suitable as a Wi-Fi AP.
Default credentials are user:user
; almost no settings are available there. installador
account is a bit more powerful but still useless. Our target is admin
.
Firefox Selenium WebDriver must be installed.
make install
source .venv/bin/activate
python antel_f660_admin.py [http://192.168.1.1]
In F660 WebGUI:
- Network -> LAN -> DHCP Server -> Unset Enable DHCP Server
- Network -> LAN -> DHCP Server -> Set LAN IP Address 192.168.1.100 (e.g.)
- Network -> WAN -> WAN Connection -> Choose dhcp_... -> Delete
- Network -> WLAN -> Basic -> Wireless RF Mode -> Disabled
I'm using Xiaomi Mi Router 4A Gigabit Edition with OpenWrt 22.03.0 on board.
In LuCi:
- Network -> Interfaces -> LAN -> Edit -> Set IPv4 gateway 192.168.1.100 (e.g.)