Reboot WA-2204a po siti (libovolny firmware)

HTML javaskript co je v priloze si stahni, uprav v nem ipecko, login a heslo a spust (pokud mas firefox; v jinym prohlizeci to nefrci).

jako bonus to jeste opravi nat tabulku………

<body onload='reboot();' > <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript> <!-- var loginID= 'root' var passWord= 'xxxxx' var ipAddress= '10.0.0.0' var rebootCMD = 'sysCmd=reboot' var fixnatCMD = "sysCmd=echo `echo 3300 ^> /proc/sys/net/ipv4/ip_conntrack_max` ^> /tmp/a" function reboot() { netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); var xmlhttp = new XMLHttpRequest(); xmlhttp.open('POST','http://'+loginID+':'+passWord+'@'+ipAddress+'/goform/formSysCmd',false); xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); xmlhttp.send(rebootCMD); setTimeout("fixnattable()", 120000) } function fixnattable() { netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); var xmlhttp = new XMLHttpRequest(); xmlhttp.open('POST','http://'+loginID+':'+passWord+'@'+ipAddress+'/goform/formSysCmd',false); xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); xmlhttp.send(fixnatCMD); } //--> </SCRIPT> </body>