Skip to content

Jakiboy/Hwdecode

Repository files navigation

Hwdecode

Decode and decrypt PPP (Point-to-Point Protocol) passwords encoded by HUAWEI routers. This tool takes an encrypted password string (typically starting with $2$ and ending with $) and decrypts it using a predefined AES decryption algorithm. It is particularly useful for recovering plaintext passwords from configurations exported from HUAWEI routers used by many ISPs.

Installing

pip install -r requirements.txt

Usage

python Hwdecode.py 'HEX'
python Hwdecode.py --file config.xml --output decoded.xml
python Hwdecode.py --silent --file config.xml --output decoded.xml

Teseted:

  • Huawei DG8245V-10 ^1.x

Resources

About

Decode encoded PPP password in HUAWEI routers

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •