View Single Post
  #31  
Old 04.05.2011, 17:35
Schmonz
Guest
 
Posts: n/a
Default

Reconnect Script for D-Link DIR-600 (tested on Firmware Version 2.05)

Spoiler:
Code:
[[[HSRC]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /login.php HTTP/1.1
        Host: %%%routerip%%%

ACTION_POST=LOGIN&FILECODE=&VERIFICATION_CODE=&LOGIN_USER=%%%user%%%&LOGIN_PASSWD=%%%pass%%%&VER_CODE=
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /conninfo.xgi?set/runtime/wan/inf:1/disconnect=1 HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /conninfo.xgi?set/runtime/wan/inf:1/connect=1 HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]


    [[[STEP]]]
        [[[REQUEST]]]
        GET /logout.php HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]
Reply With Quote