Skip to content

Rom Decoder for Huawei, TP-Link, D-Link and other routers.

Notifications You must be signed in to change notification settings

k0r0pt/rom0Decoder

 
 

Repository files navigation

Rom0Decoder


Build Status codecov


Function

Several routers (and ADSL modems) had a rom-0 vulnerability wherein an attacker could get a handle of the rom file for that router without having to login. Either way, the vulnerability has been patched for the most part. But this utility can still be helpful in decoding and fetching the router's password from that rom-0 file.

In the beginning, this repo has support for Zyxel (and similar) roms. We have plans to add support for more roms as we go along, if and when necessary.

History

This code was originally written as an executable utility by EtMatrix whence this repo has been forked.

Original Author's notes (whatever's still relevant)

Decode rom-0 file from zyxel,dlink etc

Original source C# download from Hakim's website

Modifications made

  • Added gradle support
  • Cleaned up the code a little.
  • Added test cases (might be helpful in the future).
  • Removed the executable part (this repo is supposed to be used as a library).
  • Added Continuous Integration.

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%