Sunday, November 23, 2008

How I recovered the lost root password on a WD MyBook WE


I forgot the root password on my MybookWE.
After I tried several passwords on the root account I gave up and tried to figure up a hack.
The quick and dirty sollution was a modification of Martin Hinner's SSH hack.
The idea is that I would trick the MyBook to believe that there is a new firmware and send it an upgrade script that will just reset the root password. I have removed all other things from the original hack and 'ported' it to a Tomcat server as I do not have PHP installed on my computers home.
If you need the WAR archive you can takeit from: here.
DISCLAIMER: Use it on your own risk. For me it worked.

No comments:

Post a Comment