Jump to content

Automated Cpanel Login


knucklehead
 Share

Recommended Posts

This is a nifty little automated cPanel login script.

 

KW - Maybe you can throw this on the Help Page home page, talk with bill or just do it.

 

--------------------------------------

 

 

<title>Cpanel Remote Login.</title>

<script type=text/javascript>

 

function cp_go( the_form ) {

 

if ( !the_form.username.value || !the_form.password.value ) { return; }

 

location = 'http://'+the_form.username.value+':'+the_form.password.value+'@'+the_form.server[the_form.server.selectedIndex].value+':2082/';

 

}

 

</SCRIPT>

 

<FORM name=cplogin>

CPANEL LOGIN SCRIPT<br>

<br>

<TABLE align="left" cellPadding=0 cellSpacing=0 class=main_table>

<TBODY>

<TR>

<TD class=left_table width="143"><font face="Arial, Helvetica, sans-serif">Select

your server: </font></TD>

<TD class=right_table width="130">

<SELECT class=input_field name=server>

<option value="server23.totalchoicehosting.com">Server23</option>

<option value="server4.totalchoicehosting.com">Server4</option>

<option value="server5.totalchoicehosting.com">Server5</option>

<option value="server6.totalchoicehosting.com">Server6</option>

<option value="server8.totalchoicehosting.com">Server8</option>

<option value="server10.totalchoicehosting.com">Server10</option>

<option value="server11.totalchoicehosting.com">Server11</option>

<option value="server12.totalchoicehosting.com">Server12</option>

<option value="server14.totalchoicehosting.com">Server14</option>

<option value="server15.totalchoicehosting.com">Server15</option>

<option value="server17.totalchoicehosting.com">Server17</option>

<option value="server16.totalchoicehosting.com">Server16</option>

<option value="server18.totalchoicehosting.com">Server18</option>

<option value="server19.totalchoicehosting.com">Server19</option>

<option value="server20.totalchoicehosting.com">Server20</option>

<option value="server21.totalchoicehosting.com">Server21</option>

<option value="server22.totalchoicehosting.com">Server22</option>

<option value="server23.totalchoicehosting.com">Server23</option>

<option value="server24.totalchoicehosting.com">Server24</option>

</SELECT>

</TD>

</TR>

<TR>

<TD class=left_table width="143"><font face="Arial, Helvetica, sans-serif">Username:

</font></TD>

<TD width="130">

<INPUT class=input_field name=username>

</TD>

</TR>

<TR>

<TD class=left_table width="143"><font face="Arial, Helvetica, sans-serif">Password:

</font></TD>

<TD width="130">

<INPUT class=input_field type=password name=password>

</TD>

</TR>

<TR>

<TD colSpan=2>

<INPUT class=login_but onclick=cp_go(this.form) type=button value=Login>

</TD>

</TR>

</TBODY>

</TABLE>

</FORM>

<p><br>

<br>

</p>

<p> </p>

<p> </p>

<p>  </p>

</BODY>

<!-- InstanceEnd --></HTML>

Link to comment
Share on other sites

Hi Knucklehead,

 

Nice script, we added it to our intranet. :P

Could you do me one little favour?

I'd like to load the cpanel in a blank page. Can you tell me where to define the target?

 

Thanks!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...