acecilia/OpenWRTInvasion

PSA: Use an actual linux system to run this script if your router refuses to connect on Windows or WSL2

ni554n opened this issue · 0 comments

My network setup is as straightforward as it gets, so I assumed this Python script is going to work fine on Windows or WSL2. But when I run the command, it doesn't show any error; just refuses to connect to the router via Telnet or SSH no matter what script versions or combinations I try. I haven't try it on Docker though.

Later I decided to run it on actual Ubuntu, and it did the job on first try. So, here's how you can save half of your day from troubleshooting:

  1. Connect the PC to the router using a LAN cable. This script works fine over Wi-Fi, but after installing OpenWRT, wired connection is needed because WLAN is going to be disabled by default.
  2. Download the latest Ubuntu iso and use Ventoy to run it live from USB.
  3. Get the script and run the exploit command. I didn't need to install Python, PIP or any of the requirements, as they are already bundled with Ubuntu.

Also, make sure to enable HW/SW offloading after.