Fysac / orbicfg

Decrypt/encrypt Netgear Orbi config (.cfg) files
10 stars 4 forks source link

RAX10 - AX1800 #8

Closed lshep5801 closed 1 week ago

lshep5801 commented 2 weeks ago

FWIW, I tried this on a RAX10, although it is not supported, but still a NETGEAR.

Got the following error message: decrypt config: invalid checksum

Using the command: ./orbicfg -decrypt NETGEAR_RAX10.cfg -out decrypt-RAX10.json

Using hexdump, it appears to me the magic number is not decoded in the file.

From my attached file: 0000000 0425 2020 8e4c 0000 674d 0d61 a2ec 5c55 would imply the magic number is 20200425.

NETGEAR_RAX10.zip

Not asking you to revise the program, but providing you additional information on different models and configs if this would be any use to you.

I used information provided in Closed Issue #6 to gather this information.

Fysac commented 1 week ago

Hi, can you share your firmware version?

lshep5801 commented 1 week ago

Router Firmware Version V1.0.15.146Sent from my iPhoneOn Oct 20, 2024, at 11:26 AM, Fysac @.***> wrote: Hi, can you share your firmware version?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Fysac commented 1 week ago

This was another case of an off-by-one magic value, so I added an override for it. It should work now if you pull 66bca7d.

At this rate, I might as well add some code to retry with stated magic + 1 whenever checksum validation fails :)

lshep5801 commented 1 week ago

Thanks. Tested and works fine.

On Sun, Oct 20, 2024 at 6:55 PM Fysac @.***> wrote:

This was another case of an off-by-one magic value, so I added an override for it. It should work now if you pull 66bca7d https://github.com/Fysac/orbicfg/commit/66bca7d8dc7b35f2f1acc9e032aeb1cd544e7fdf .

— Reply to this email directly, view it on GitHub https://github.com/Fysac/orbicfg/issues/8#issuecomment-2425273407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIB7EM4C25BG7SRJV37BDXTZ4QYH7AVCNFSM6AAAAABQCHHZM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGI3TGNBQG4 . You are receiving this because you authored the thread.Message ID: @.***>