tknarr DD-WRT Novice
Joined: 28 Mar 2014 Posts: 5
|
Posted: Mon Jul 20, 2015 3:46 Post subject: NVRAM backup decoding/encoding |
|
I needed to hack up a simple tool to decode an NVRAM backup file to text so I could see what was there, and in the process I wound up creating a matching tool to rebuild a backup file from the text. I haven't yet tried to upload the rebuilt backup to the router, but if I didn't edit the text I could build a new file that was byte-for-byte identical to the original backup so I'm pretty sure I got the structure right. It's C code but nothing fancy so it should compile anywhere:
https://github.com/tknarr/ddwrt-nvram-tools |
|