Tuesday, July 20, 2021

Reboot your Safaricom Huawei Router Remotely

Tests done on Huawei HG8245H and HG8145V EchoLife Router models. 
 
https://www.safaricom.co.ke/images/tubonge/10.jpg

Script Replication Steps

  1. Login to your Router and do the whole reboot process manually while proxying the traffic via Burp Suite.
  2. Note down the following Parameters.
    • Login URL
    • Headers
    • Form Data (Cookie, UserName, PassWord, Language, x.X_HW_Token)
    • Rand Count URL
    • Device Reboot URL 
    • Reboot Parameters 
  3. Try to write a Python script to Login then later Reboot the device using Python Requests Library

Form Params

Get Rand Count

Reboot Params
 

Script: https://github.com/e13olf/Huawei-EchoLife-Router-Reboot-Script
 
The Script can save you a few seconds depending on how far or lazy you are away from the router.
 
Yes! I understand that you could just as well login through the browser and reboot the router without a need for a script.


2 comments:

  1. Glad to visit this blog, really helpful. Gathered lots of information and waiting to see more updates.
    RPA Training in Chennai
    RPA Training Online
    RPA Course in Coimbatore

    ReplyDelete
  2. Excellent Blog, I like your blog and It is very informative. Thank you
    ReactJs
    React Native

    ReplyDelete