Automated Cpanel Login

liunx

Guest
This is a nifty little automated cPanel login script.<br /><br />KW - Maybe you can throw this on the Help Page home page, talk with bill or just do it.<br /><br />--------------------------------------<br /><br /> <br /><title>Cpanel Remote Login.</title><br /><script type=text/javascript><br /><br />function cp_go( the_form ) {<br /><br />if ( !the_form.username.value || !the_form.password.value ) { return; }<br /><br />location = 'http://'+the_form.username.value+':'+the_form.password.value+'@'+the_form.server[the_form.server.selectedIndex].value+':2082/';<br /><br />}<br /><br /></SCRIPT><br /><br /><FORM name=cplogin><br /> CPANEL LOGIN SCRIPT<br><br /> <br><br /> <TABLE align="left" cellPadding=0 cellSpacing=0 class=main_table><br /> <TBODY> <br /> <TR> <br /> <TD class=left_table width="143"><font face="Arial, Helvetica, sans-serif">Select <br /> your server: </font></TD><br /> <TD class=right_table width="130"> <br /> <SELECT class=input_field name=server><br /> <option value="server23.totalchoicehosting.com">Server23</option><br /> <option value="server4.totalchoicehosting.com">Server4</option><br /> <option value="server5.totalchoicehosting.com">Server5</option><br /> <option value="server6.totalchoicehosting.com">Server6</option><br /> <option value="server8.totalchoicehosting.com">Server8</option><br /> <option value="server10.totalchoicehosting.com">Server10</option><br /> <option value="server11.totalchoicehosting.com">Server11</option><br /> <option value="server12.totalchoicehosting.com">Server12</option><br /> <option value="server14.totalchoicehosting.com">Server14</option><br /> <option value="server15.totalchoicehosting.com">Server15</option><br /> <option value="server17.totalchoicehosting.com">Server17</option><br /> <option value="server16.totalchoicehosting.com">Server16</option><br /> <option value="server18.totalchoicehosting.com">Server18</option><br /> <option value="server19.totalchoicehosting.com">Server19</option><br /> <option value="server20.totalchoicehosting.com">Server20</option><br /> <option value="server21.totalchoicehosting.com">Server21</option><br /> <option value="server22.totalchoicehosting.com">Server22</option><br /> <option value="server23.totalchoicehosting.com">Server23</option><br /> <option value="server24.totalchoicehosting.com">Server24</option><br /> </SELECT><br /> </TD><br /> </TR><br /> <TR> <br /> <TD class=left_table width="143"><font face="Arial, Helvetica, sans-serif">Username: <br /> </font></TD><br /> <TD width="130"> <br /> <INPUT class=input_field name=username><br /> </TD><br /> </TR><br /> <TR> <br /> <TD class=left_table width="143"><font face="Arial, Helvetica, sans-serif">Password: <br /> </font></TD><br /> <TD width="130"> <br /> <INPUT class=input_field type=password name=password><br /> </TD><br /> </TR><br /> <TR> <br /> <TD colSpan=2><br /> <INPUT class=login_but onclick=cp_go(this.form) type=button value=Login><br /> </TD><br /> </TR><br /> </TBODY><br /> </TABLE><br /></FORM><br /><p><br><br /> <br><br /></p><br /><p>&nbsp;</p><br /><p>&nbsp;</p><br /><p>&nbsp; </p><br /></BODY><br /><!-- InstanceEnd --></HTML><!--content-->
Very neat indeed! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><!--content-->
This automated login script is now implemented and accessible from the home page of the <a href="http://www.totalchoicehosting.com/help/" target="_blank">TCH Help Web Site</a>!<br /><br />Enjoy!<br />-kw<!--content-->
Hi Knucklehead, <br /><br />Nice script, we added it to our intranet. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> <br />Could you do me one little favour? <br />I'd like to load the cpanel in a blank page. Can you tell me where to define the target?<br /><br />Thanks!<!--content-->
 
Top