Created
February 1, 2013 02:11
-
-
Save iskigow/4688621 to your computer and use it in GitHub Desktop.
A HTTP Live header script for renew IP of Thomson DWG850-B4.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[[HSRC]]] | |
[[[STEP]]] | |
[[[DEFINE routername="Thomson DWG850-B4"/]]] | |
[[[/STEP]]] | |
[[[STEP]]] | |
[[[REQUEST]]] | |
GET /RgDhcp.asp HTTP/1.1 | |
Host: %%%routerip%%% | |
Authorization: Basic %%%basicauth%%% | |
[[[/REQUEST]]] | |
[[[/STEP]]] | |
[[[STEP]]] | |
[[[REQUEST]]] | |
POST /goform/RgDhcp HTTP/1.1 | |
Host: %%%routerip%%% | |
Authorization: Basic %%%basicauth%%% | |
WanLeaseAction=2&WanConnectionType=0&Mtu=0&HostName=&DomainName=&SpoofedMacAddressMA0=00&SpoofedMacAddressMA1=00&SpoofedMacAddressMA2=00&SpoofedMacAddressMA3=00&SpoofedMacAddressMA4=00&SpoofedMacAddressMA5=00 | |
[[[/REQUEST]]] | |
[[[/STEP]]] | |
[[[STEP]]] | |
[[[WAIT seconds="1"/]]] | |
[[[/STEP]]] | |
[[[STEP]]] | |
[[[REQUEST]]] | |
GET /RgDhcp.asp HTTP/1.1 | |
Host: %%%routerip%%% | |
Authorization: Basic %%%basicauth%%% | |
[[[/REQUEST]]] | |
[[[/STEP]]] | |
[[[STEP]]] | |
[[[REQUEST]]] | |
POST /goform/RgDhcp HTTP/1.1 | |
Host: %%%routerip%%% | |
Authorization: Basic %%%basicauth%%% | |
WanLeaseAction=1&WanConnectionType=0&Mtu=0&HostName=&DomainName=&SpoofedMacAddressMA0=00&SpoofedMacAddressMA1=00&SpoofedMacAddressMA2=00&SpoofedMacAddressMA3=00&SpoofedMacAddressMA4=00&SpoofedMacAddressMA5=00 | |
[[[/REQUEST]]] | |
[[[/STEP]]] | |
[[[STEP]]] | |
[[[WAIT seconds="10"/]]] | |
[[[/STEP]]] | |
[[[STEP]]] | |
[[[REQUEST]]] | |
GET /RgDhcp.asp HTTP/1.1 | |
Host: %%%routerip%%% | |
Authorization: Basic %%%basicauth%%% | |
[[[/REQUEST]]] | |
[[[/STEP]]] | |
[[[/HSRC]]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment