NVRAM backup decoding/encoding

Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload
Author Message
tknarr
DD-WRT Novice


Joined: 28 Mar 2014
Posts: 5

PostPosted: Mon Jul 20, 2015 3:46    Post subject: NVRAM backup decoding/encoding Reply with quote
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
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum