0

I am trying to reverse engineer my routers firmware. So as the first step I took uart pins and I could login to the router through serial console. I need to export the binary files to my host system. My host PC is running ubuntu. I have tried SSH login but I am not able to login as the username and password is unknown. Also username and password is required for SCP too. So how can I copy files to host? Please suggest any method. How should I approach this situation?

  • Can't you just download the firmware from the vendor website? Since you have access, can't you change passwords? There are many ways to copy files over a text-only channel using different encodings. – multithr3at3d May 25 at 14:52
  • As i have access i could change the password through webui. But ssh is not possible with those credentials. When i enter the password it is showing as incorrect. How to find root password. I have serial console access too. – Vinie Jun 3 at 15:04
  • Just like any Linux box, check /etc/passwd and/or /etc/shadow. – multithr3at3d Jun 3 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.