I have modem Echolife HG8245H (V3R016C10S150). I'm using telnet to connect it. I need to read some files from this modem. There's a shell mode I can enter, but it is nerfed badly:
SU_WAP>shell
BusyBox v1.18.4 (2016-10-11 19:35:35 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
profile close core dump
WAP(Dopra Linux) # ?
exit
getcustominfo.sh
restorehwmode.sh
These are all commands I can do in this mode. There is another way to look at the directories:
SU_WAP>wap list path /
bin
boot
dev
etc
html
lib
libexec
linuxrc
mnt
proc
root
sbin
share
sys
tmp
uer
usr
var
It works like 'ls'. But I can not read any file:
SU_WAP>wap list path /var/wifi.txt
/var/wifi.txt
success!
Commands like 'cat' aren't working. Does anybody know is there any way to read these files if you're connecting modem through telnet? Maybe this is not possible with this firmware?
Thank you:)
cat
not working? The command doesn't exist or doesn't work? Are there other commands that can open files? Maybe you could just dump the storage device that holds the firmware and analyze it from somewhere else.?
return the same output ashelp
, from busybox?dd
, you could read the raw device. Or, use hardware hacking to dump e.g. flash chip or gain a full shell that way.