VladDBA / Asus-Router-Config-Decoder

PowerShell script that decodes the .cfg configuration backup files from Asus routers
MIT License
3 stars 1 forks source link

Asus Router Config Decoder

PowerShell script that decodes the .cfg file resulted from backing up the configuration of an Asus router.
It saves the entire decoded content of the .cfg file as [FileName]_Decoded.txt.
If the config file contains a DHCP client list, it will be formatted as pipe-delimited text and saved as [FileName]_DHCP.txt.
It also displays the following information if found in the config file:

Based on the following Bash script:
https://github.com/billchaison/asus-router-decoder

Works with PowerShell version 5.1 and above.

Related blog post

Usage examples

PS>.\Decode-AsusRouterConfig.ps1 '.\Settings_RT-XXXXX.CFG'
PS>.\Decode-AsusRouterConfig.ps1 'C:\Path\To\File\Settings_RT-XXXXX.CFG'

Tested with configuration files from

Example screenshot

Screenshot1