20 Sep 2019 
Support Center » Knowledgebase » Scripts for DSL/Cable modems / routers » Linksys WRT120N Firmware Version: v1.0.04
 Linksys WRT120N Firmware Version: v1.0.04
Article
hs=new HTTPScript("admin", "admin");
hs.ForceAuthHeader=true;
dt=DateTime.Now;
hs.Data='delay=0&year=2010&mon=9&date=20&day=2&hour=10&min='+dt.Minute+'&sec='+dt.Second+'&_f_no_write_config=1&cmd_btn=DHCP Release&curAtmIdx=3&exec_cgis=StaS&ret_url=/index.stm?title=Status-Status';
Info(hs.Data);
hs.Referer='http://192.168.1.1/index.stm?title=Status-Status';
hs.POST('http://192.168.1.1/cgi-bin/apply.cgi');
Wait(3000);
hs.Data='delay=0&year=2010&mon=9&date=10&day=5&hour=10&min='+dt.Minute+'&sec='+dt.Second+'&_f_no_write_config=1&cmd_btn=DHCP Renew&curAtmIdx=3&exec_cgis=StaS&ret_url=/index.stm?title=Status-Status';
hs.Referer='http://192.168.1.1/index.stm?title=Status-Status';
hs.POST('http://192.168.1.1/cgi-bin/apply.cgi');
Wait(10000);
return true;


Article Details
Article ID: 110
Created On: 20 Sep 2010 6:22 PM

 This article was helpful  This article was not helpful

 Back
 Log in [Lost Password] 
E-mail:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | Troubleshooter
Language:

Help Desk Software by Kayako SupportSuite v3.70.02