JDownloader Easybox 904xdsl Reconnect

Vor langer Zeit strafte mein ehemaliger Provider mich mit einer Easybox 904xdsl ab.
Bevor diese unfrei wieder Ihren Besitzer wechselte schrieb ich folgendes Script um durch JDownloader und curl ein Reconnect durchzuführen.
Denn JDownloader ohne einen Reconnect durchzuführen, macht wenig Sinn 😉


Natürlich noch „ROUTERIP“ mit der IP der Easybox ersetzen, sowie „DEINPASSWORT“ mit dem Webinerface-Login-Passwort.

Lief auf Firmware-Version: AT904X-03.07
Ob aktuelle Firmware-Versionen damit laufen beantwortet bitte in den Kommentaren. Eine Easybox besitze ich nämlich nicht mehr um das nachzuprüfen.

#!/bin/sh
 curl 'http://ROUTERIP/cgi-bin/login.exe' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: de,en-US;q=0.7,en;q=0.3' -H 'Connection: keep-alive' -H 'Host: ROUTERIP' -H 'Referer: http://ROUTERIP/' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0' -H 'Content-Type: application/x-www-form-urlencoded' -c cookies.txt --data 'pws=DEINPASSWORT' --location
 curl -b cookies.txt 'http://ROUTERIP/index.stm' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: de,en-US;q=0.7,en;q=0.3' -H 'Connection: keep-alive' -H 'Host: ROUTERIP' -H 'Referer: http://ROUTERIP/wait0.stm' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0'
 curl -b cookies.txt 'http://ROUTERIP/main_overview.stm' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: de,en-US;q=0.7,en;q=0.3' -H 'Connection: keep-alive' -H 'Host: ROUTERIP' -H 'Referer: http://ROUTERIP/index.stm' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0'
 sleep 6
 curl -b cookies.txt 'http://ROUTERIP/main_internet.stm#sub=firewall' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: de,en-US;q=0.7,en;q=0.3' -H 'Connection: keep-alive' -H 'Host: ROUTERIP' -H 'Referer: http://ROUTERIP/main_overview.stm' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0'
 sleep 6
 curl -b cookies.txt 'http://ROUTERIP/cgi-bin/internet_lte_reconnect.exe' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: de,en-US;q=0.7,en;q=0.3' -H 'Connection: keep-alive' -H 'Host: ROUTERIP' -H 'Referer: http://ROUTERIP/main_internet.stm' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0' -H 'Content-Type: application/x-www-form-urlencoded' --data 'reconnect=1' --location
 sleep 6
 curl -b cookies.txt 'http://ROUTERIP/cgi-bin/logout.exe' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: de,en-US;q=0.7,en;q=0.3' -H 'Connection: keep-alive' -H 'Host: ROUTERIP' -H 'Referer: http://ROUTERIP/main_overview.stm' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0' --location
 sleep 1
 curl 'http://ROUTERIP/login.stm'
JDownloader Easybox 904xdsl Reconnect

Schreiben Sie einen Kommentar

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.