shlomikalfa Posted December 12, 2007 Share Posted December 12, 2007 <html> <head> <META name="description" content="WGR624"> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <META http-equiv="Pragma" content="no-cache"> <META HTTP-equiv="Cache-Control" content="no-cache"> <meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT"> <link rel="stylesheet" href="form.css"> <title>PPPoE Status</title> <script language="javascript" type="text/javascript"> <!-- function refreshPage() { if(document.forms[0].Connect.value == 'Renew') return true; window.setTimeout('window.location.href = "RST_st_poe.htm";',5000); } function disableConButton() { document.forms[0].Connect.disabled = true; document.forms[0].Disconnect.disabled = true; document.forms[0].ConMethod.value = " Connect "; document.forms[0].submit(); return true; } function disableDisConButton() { document.forms[0].Connect.disabled = true; document.forms[0].Disconnect.disabled = true; document.forms[0].ConMethod.value = "Disconnect"; document.forms[0].submit(); return true; } //--> </script> </head> <body bgcolor="#ffffff" onLoad="refreshPage()"> <form name="poe_st" method="post" action="st_poe.cgi"> <TABLE border=0 width="100%"> <TR> <TD colspan="2" align="left" nowrap><h1>Connection Status </h1></TD> </TR> </TABLE> <table border="0" cellpadding="0" cellspacing="3" width="100%"> <tr> <!-- RULE --> <td background="liteblue.gif" height="12"> </td> </tr> </table> <table width="100%" border=1 cellspacing=1 cellpadding=4> <tr> <TD NOWRAP width="50%"><B>Connection Time</B></td> <TD NOWRAP width="50%">14:16:02</td> </tr> <tr> <TD NOWRAP><B>Connecting to Server</B></td> <TD NOWRAP>On</td> </tr> <tr> <TD NOWRAP><B>Negotiation</B></td> <TD NOWRAP>On</td> </tr> <tr> <TD NOWRAP><B>Authentication</B></td> <TD NOWRAP>On</td> </tr> <tr> <TD NOWRAP><B>Getting IP Addresses</B></td> <TD NOWRAP>79.179.9.128</td> </tr> <tr> <TD NOWRAP><B>Getting Network Mask</B></td> <TD NOWRAP>255.255.255.255</td> </tr> </table> <table border="0" cellpadding="0" cellspacing="3" width="100%"> <TR> <TD align="center" nowrap> <BR> <input type="submit" name="Connect" value=" Connect " onClick="return disableConButton()"> <input type="submit" name="Disconnect" value="Disconnect" onClick="return disableDisConButton()"></TD> </TR> <tr> <!-- RULE --> <td background="liteblue.gif" height="12"> </td> </tr> <TR> <TD align="center"><input type=button name="close" value="Close Window" onclick="self.close();"></TD> </TR> </TABLE> <input type="hidden" name="ConMethod" value="Disconnect"> </form> </body> </html> this is my page, i'ts my router's reconnection page... i want to know how and if it's possible to know what does it do in the terms of TCP-Sends... i mean i can read by myself it's POSTing something onto the server, but where does it post it to and with what parameters ? i want to make a software that will use HTTP POSTing method to reconnect my router... how can i know the details form this page ?! can we infer from this page that the details are taken from some other page maybe ? if so -> which page? i will get it too.... [move]THANKS FOR ANY HELP IN ADVANCE !!!![/move] Quote Link to comment Share on other sites More sharing options...
emehrkay Posted December 12, 2007 Share Posted December 12, 2007 it looks like all it does is change the input "ConMethod" value to "Connect" and submits the form Quote Link to comment Share on other sites More sharing options...
shlomikalfa Posted December 12, 2007 Author Share Posted December 12, 2007 yea well that i've managed to realize on my own but what does it do... when it's submitted - where does it go ? please read my post before replying.... Quote Link to comment Share on other sites More sharing options...
emehrkay Posted December 12, 2007 Share Posted December 12, 2007 it posts to this cgi script, i dont know if you'll have access to it though st_poe.cgi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.