Open aka-khalid opened 7 months ago
So your feature bits indicate you have "unlocked bootloader", have you tried flashing the file on zyxel's site?
I have tried, multiple times actually, and I always get this error:
I've executed zycli fwidcheck off
and zycli modelcheck off
to make sure I can upgrade firmware, but no luck.
After further investigation, it appears that there's no openssh-server
nor dropbear
packages installed to allow SSH connection to the router. I tried to install them but according to opkg print-architecture
I need a package that supports one of these architectures:
arch: all
arch: noarch
arch: en75xx
and neither of the mentioned packages support them.
In order to install packages, I had to modify this line in /etc/opkg.conf
from:
src/gz barrier_breaker http://downloads.openwrt.org/snapshots/trunk/en75xx/packages
to:
src/gz barrier_breaker http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/
because the original link doesn't exist and I had to choose mipsel_24kc
because it had many packages of arch: all
.
Also I would like to show this df
report cause I couldn't install any packages in /
and I had to switch to /tmp
:
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 16384 16384 0 100% /
/dev/root 16384 16384 0 100% /
tmpfs 118512 1996 116516 2% /tmp
devtmpfs 118404 0 118404 0% /dev
tmpfs 16 0 16 0% /mnt
/dev/mtdblock9 4064 1524 2540 38% /data
/dev/mtdblock11 32512 1144 31368 4% /misc
tmpfs 118512 1996 116516 2% /tmp/var/home/root/fw
/dev/mtdblock9 4064 1524 2540 38% /tmp/var/home/root/data
tmpfs 118512 1996 116516 2% /tmp/var/home/supervisor/fw
tmpfs 118512 1996 116516 2% /tmp/var/home/admin/fw
tmpfs 118512 1996 116516 2% /tmp/var/home/user/fw
devtmpfs 118404 0 118404 0% /proc/bus
@aka-khalid did you get anyware with this?
Try flash from zloader with uart, run the following commands zycli sys atcd zycli sys atcr reboot should be stock if not you should at least have ssh so we can move some files like the bootloader. You can also probably use fat32 formatted usb sticks as these have been known to work oh those devices.
@eimparas, @Notupus Sorry for the late reply, my provider decided to switch to an ONT device so I really don't have access to that device anymore. Trying to figure out a way to debrand it was fun, but sadly I can't do it anymore.
Thank you guys for your help.
I've purchased my VMG3625-T50B, which is pretty similar to VMG8623-T50B, from a local ISP (te-data) and I guess they worked really hard to make sure no one gets to debrand the device. I got the
supervisor
password, which is the same asroot
, from the generator and by using a ping command injection script you can find here, I gained root shell access to the router and these are the steps:supervisor
/root
passwordnc -nvlp 13373
python3 cmd_injection_ping2.py
Voila! Now I have root shell access.
By executing
zycli sys atsh
I get the following:and
netstat
produces:My problem is I don't know how to successfully copy the bootloader file as I'm no expert in any of this. Performing regular
ssh
orftp
commands from my machine results in failure because these protocols are somehow blocked and hidden.I thought of modifying the mentioned script to inject an
scp
command but I don't know how the script fully works and when I tried to do stuff on my own I failed and almost broke my device. 😃Any thoughts? I'd really appreciate it.