k0r0pt / rom0Decoder

Rom Decoder for Huawei, TP-Link, D-Link and other routers.
11 stars 2 forks source link
dlink hacking library rom-0 rom-hacking romhack romhacking router-exploitation-framework tplink zyxel

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