bkerler / netgear_telnet

Netgear Enable Telnet (New Crypto)
MIT License
126 stars 34 forks source link

telnet_enable2.py does not work on Netgear RBR350 #21

Closed ParasFries closed 1 year ago

ParasFries commented 1 year ago

Hello! My router is RBR350(fw V4.4.0.10_2.10.63),satellites are RBS350(fw V4.4.0.10).

I have installed python 3.9 and run command, it shows "Netgear LBR20 Telnet enabler V2 LBR20(c) B.Kerler 2021" .But there is no "enable telnet commands" in debug.htm.

Could you please adapt this fw? Or the latest version: RBR350 (Orbi Router) Firmware Version 4.4.1.29 https://www.downloads.netgear.com/files/GDC/RBK352/RBR350_signed-4.4.1.29.zip RBS350 (Orbi Satellite) Firmware Version 4.4.1.29 https://www.downloads.netgear.com/files/GDC/RBK352/RBS350_signed-V4.4.1.29.zip

Thank you very much!!

bkerler commented 1 year ago

Please try commit 4ec9e0e

chn-will-liu commented 5 months ago

For people who are looking for the approach to enabling telnet on RBR350, here I found a pretty easy way:

  1. Go to http://192.168.1.1/debug_detail.htm, and login
  2. Open Chrome DevTools and refresh the page
  3. Check the debug_detail.htm network request, grab the Authorization header from this request
  4. In Console, run this fetch request

    fetch("http://192.168.1.1/rpc.cgi?%20timestamp="+ts, {
      "headers": {
        "authorization": "Basic auth token from step 3",
        "content-type": "application/json; charset=UTF-8"
      },
      "body": "ts_name=debug_info&enable-telnet=1&rpc_name=debug-info",
      "method": "POST"
    });
  5. Done!!

This enable telnet option is just hidden from the debug page, but the API endpoint is still there!

chn-will-liu commented 5 months ago

By the way, this is tested with firmware V4.3.4.7. You may need to downgrade before trying.