|
#1
|
|||
|
|||
asus rt-16n reconnect script
my working, and tested, liveheader/curl reconnect script for an asus rt-16n router with dd-wrt firmware:
Code:
[[[HSRC]]] [[[STEP]]] [[[REQUEST]]] GET /Status_Router.asp HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] GET /Status_Internet.asp HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] POST /apply.cgi HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% submit_button=Status_Internet&action=Apply&change_action=gozila_cgi&submit_type=Disconnect_pppoe [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] GET /Status_Internet.live.asp HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] POST /apply.cgi HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% submit_button=Status_Internet&action=Apply&change_action=gozila_cgi&submit_type=Connect_pppoe [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] GET /Status_Internet.live.asp HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] GET /Status_Router.asp HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] GET /Status_Internet.asp HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% [[[/REQUEST]]] [[[/STEP]]] [[[/HSRC]]] firmware DD-WRT v24-sp2 (02/03/10) big lan router ip 192.168.1.1 with username & password i put this here just for other jdownloader users because using "Reconnect Recorder" you can get many GET /router_page.asp HTTP/1.1 extra pages .. in my script all is trimmed down to just two pages /Status_Router.asp from were you jump to /Status_Internet.asp ... connect/disconnect buton is at /Status_Internet.asp dd-wrt router page ... |
Thread Tools | |
Display Modes | |
|
|