#1
|
|||
|
|||
Windows solution for Orange LiveBox 2 Sagem reconnection
Hi all,
Please find hereafter a script that help a Livebox to reconnect. Works fine with LiveBox 2 Sagem -version FAST3XXX_6814AC under Windows 7. If LiveBox version is not this one, it may work as weel, as soon as html pages & elements ids have not changed. The HTML header solution doesn't work because it records html dialog and livebox password encryption depends on session. The solution is to redo the typing and clinking as if we where using Internet Explorer. And in fact, we will use it via vbscript. First you have to create the following vbscript (with your prefered editor - notepad is OK) : set args = wscript.Arguments set nav = CreateObject("InternetExplorer.Application") nav.Visible = true nav.navigate args(0) Do While not nav.ReadyState = 4 Loop nav.document.All.tags("input").Item("authlogin").Value = "admin" nav.document.All.tags("input").Item("authpasswd").Value = args(1) nav.document.formu.submit WScript.Sleep(1000) Do While not nav.ReadyState = 4 Loop nav.document.getElementById("rubric2").Click WScript.Sleep(1000) Do While not nav.ReadyState = 4 Loop nav.document.getElementById("link3").Click WScript.Sleep(1000) Do While not nav.ReadyState = 4 Loop nav.document.getElementById("rowbutt3").Click WScript.Sleep(8000) Do While not nav.ReadyState = 4 Loop nav.Quit Save the script anywhere you want on you disk. Then Open JDownloader Preferences -> Modules/Reconnect -> choose "External" In command type : <the-path-to-your-vbscript.vbs> including the .vbs suffix In the parameter window, - on 1rst line, type your livebox ip (for exemple: 192.168.1.1) - on 2nd line, type your LiveBox admin password Have better reconnections Regards |
#2
|
|||
|
|||
On script copy there is a html mismatch.
).Value has no blank inside |
#3
|
|||
|
|||
Thanks for your contribution.
I would use the code tags of the forum to post your script as the board's software inserts spaces that break your script |
#4
|
|||
|
|||
Hi all.
This simple code also work for Livebox 2 (Livebox-83be (Firmware FAST3yyy_691288)) Greetins from Spain Bye. Code:
[[[HSRC]]] [[[STEP]]] [[[REQUEST]]] GET /index.cgi?page=internet&action=reset&authlogin=%%%user%%%&authpasswd=%%%pass%%%&authaction=login HTTP/1.1 Host: %%%routerip%%% [[[/REQUEST]]] [[[/STEP]]] [[[/HSRC]]] |
Thread Tools | |
Display Modes | |
|
|