HawK40x 发表于 2024-3-22 18:56:11

busybox 1.31.1 su密码

Does anyone know the password for this HUAWEI ONU (any model) but it has BUSYBOX V 1.31.1 and I don't know how to access its SU

邪恶海盗 发表于 2024-3-22 20:07:15

Which hardware modle?
Which software verson?

AlphaJim 发表于 2024-3-23 02:09:00

WARNING: I'M NOT RESPONSIBLE FOR ANY PROBLEM CAUSED BY THE FOLLOWING OPERATIONS. USE THIS INSTRCTIONS AT YOUR OWN RISK. ONLY TESTED ON MODEL HS8145X6 VERSION V500R021C00S115
If you are running an R21 version firmware on this device and it's CHINA TELECOM CUSTOMIZED:
Type this command and press enter: saf-huawei consoleThen enter the password and press enter: upt
(the password will not be displayed in the console)
In the saf console, type the following command and press enter:
cat >> /etc/rc.localCopy & paste the following content in the console, press enter, then press ctrl+d:
sed -i '/^root/{s%/sbin/nologin%/bin/sh%;s%^root:[^:]*:%root::%}' /e8cvar/passwdPress ctrl+a q to exit the saf console, then type reboot and press enter to reboot your device.
Login to the shell again, then use /bin/su instead of su.
Type this command in the console:
whoamiIf returns 'root', then that's it. Enjoy it :)

AlphaJim 发表于 2024-3-23 02:10:08

WARNING: I'M NOT RESPONSIBLE FOR ANY PROBLEM CAUSED BY THE FOLLOWING OPERATIONS. USE THIS INSTRCTIONS AT YOUR OWN RISK. ONLY TESTED ON MODEL HS8145X6 VERSION V500R021C00S115
If you are running an R21 version firmware on this device and it's CHINA TELECOM CUSTOMIZED:
Type this command and press enter: saf-huawei consoleThen enter the password and press enter: upt
(the password will not be displayed in the console)
In the saf console, type the following command and press enter:
cat >> /etc/rc.localCopy & paste the following content in the console, press enter, then press ctrl+d:
sed -i '/^root/{s%/sbin/nologin%/bin/sh%;s%^root:[^:]*:%root::%}' /e8cvar/passwdPress ctrl+a q to exit the saf console, then type reboot and press enter to reboot your device.
Login to the shell again, then use /bin/su instead of su.
Type this command in the console:
whoamiIf returns 'root', then that's it. Enjoy it :)

HawK40x 发表于 2024-3-25 08:30:24

邪恶海盗 发表于 2024-3-22 20:07
Which hardware modle?
Which software verson?

硬件为EG8147X6、EG8247H5等类似硬件 软件版本为R020 内部系统的版本是最重要的,因为我相信只有ro20有这个额外的安全层,其他的没有这么严格的问题。 如果您知道任何解决方案,请告诉我,谢谢♥

HawK40x 发表于 2024-3-25 08:32:13

AlphaJim 发表于 2024-3-23 02:10
WARNING: I'M NOT RESPONSIBLE FOR ANY PROBLEM CAUSED BY THE FOLLOWING OPERATIONS. USE THIS INSTRCTION ...

非常感谢,这不是中国电信定制的,但我会尝试一下。

HawK40x 发表于 2024-3-25 16:54:45

本帖最后由 HawK40x 于 2024-3-25 16:56 编辑

V5R020C10S182
EG8247H5

The command does not exist in the SHELL of my router

HawK40x 发表于 2024-4-2 15:44:01

如果有人可以帮助我解决这个问题,请做,我仍在等待并坚持这一点!
页: [1]
查看完整版本: busybox 1.31.1 su密码