Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vladdba/asus-router-config-decoder

PowerShell script that decodes the .cfg configuration backup files from Asus routers
https://github.com/vladdba/asus-router-config-decoder

Last synced: about 1 month ago
JSON representation

PowerShell script that decodes the .cfg configuration backup files from Asus routers

Awesome Lists containing this project

README

        

# 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:
- Admin username
- Admin password
- SSIDs (Wi-Fi names)
- WPA PSKs (Wi-Fi passwords)
- PPPOE credentials

Based on the following Bash script:

https://github.com/billchaison/asus-router-decoder

Works with PowerShell version 5.1 and above.

[Related blog post](https://vladdba.com/2024/05/19/powershell-decode-asus-router-configuration-backup-file/)

## Usage examples
```powershell
PS>.\Decode-AsusRouterConfig.ps1 '.\Settings_RT-XXXXX.CFG'
```

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

## Tested with configuration files from
- Asus RT-BE88U
- Asus RT-AX86U Pro
- Asus RT-AC86U

## Example screenshot
![Screenshot1](https://raw.githubusercontent.com/VladDBA/Asus-Router-Config-Decoder/main/Example.png)