Hej
har lige fundet en gammel router (Cisco WRP400), som er låst (by service provider) har ingen ide, om hvem der kan låse den op, da det er en jeg har fået for flere år siden -_-
grunden til jeg gerne vil ha den låst op, er at jeg gerne vil ha opdateret sådan at den kan køre med et nyere usb internet
så tænkte om der var ens om kunne finde koden i noget af det her:
chkpasswd.cgi
Kode:
<!--
*********************************************************
* Copyright 2007, CyberTAN Inc. All Rights Reserved *
*********************************************************
This is UNPUBLISHED PROPRIETARY SOURCE CODE of CyberTAN Inc.
the contents of this file may not be disclosed to third parties,
copied or duplicated in any form without the prior written permission of CyberTAN Inc.
This software should be used as a reference only, and it not intended for production use!
THIS SOFTWARE IS OFFERED 'AS IS', AND CYBERTAN GRANTS NO WARRANTIES OF ANY KIND,
EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE.
CYBERTAN SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE
-->
<html>
<head>
<title>Upgrade Firmware</title>
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<LINK href="/wata.css" type=text/css rel=stylesheet>
<style>
A:hover {color: #00FFFF}
.small A:hover {color: #00FFFF}
</style>
<script src="common.js"></script>
<script language="JavaScript">
function uiDoSave(F)
{
F.submit();
}
function uiDoCancel()
{
window.location.replace('Upgrade.asp');
}
function init()
{
alert("Error username or password");
document.upgrade2.user_id.focus();
}
</script>
</head>
<body onLoad="init();" >
<div align=center>
<FORM name=upgrade2 method=post action=chkpasswd.cgi>
<input type=hidden name=submit_button value="Upgrade">
<input type=hidden name=change_action>
<input type=hidden name=action>
<input type=hidden name=submit_type>
<input type=hidden name=upgrade_page value="1">
<LINK href="/wata.css" type=text/css rel=stylesheet>
<!--
*********************************************************
* Copyright 2007, CyberTAN Inc. All Rights Reserved *
*********************************************************
This is UNPUBLISHED PROPRIETARY SOURCE CODE of CyberTAN Inc.
the contents of this file may not be disclosed to third parties,
copied or duplicated in any form without the prior written permission of CyberTAN Inc.
This software should be used as a reference only, and it not intended for production use!
THIS SOFTWARE IS OFFERED 'AS IS', AND CYBERTAN GRANTS NO WARRANTIES OF ANY KIND,
EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE.
CYBERTAN SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE
-->
<script>
var client_width=809;
var content_width2=633;
var help_style="Help...";
</script>
<SCRIPT src="position.js"></SCRIPT>
<script>
var i , j,funw,table_width=639;
var NOWPATH = document.location.pathname.substring(1,document.location.pathname.length);
if ( NOWPATH == "apply.cgi" || NOWPATH == "chkpasswd.cgi")
NOWPATH = "Upgrade.asp" ;
else if (NOWPATH == "return_page.cgi" || NOWPATH == "chkpasswd.cgi")
NOWPATH = 'SingleForward.asp';
getpos(NOWPATH);
if (SelectSubItem != 9999)
{
var title_name=Menu[SelectItemIdx][SelectSubItem][DNAME];
document.title=title_name.replace("<br>", " ");
}
document.write("<table class=\"top\" cellSpacing=0 cellPadding=0 width='"+client_width+"' >");
document.write("<tr>\n<td>\n<table class=\"top\" cellSpacing=0 cellPadding=0>\n");
document.write("<tr>\n")
document.write("<td width=95><img src=\"/image/UI_logo.gif\"></td>\n")
document.write("<td class=\"showFW\">Firmware Version: 2.00.26 </td>\n");
document.write("</tr>\n<tr>\n");
document.write("<td colSpan=2 style=\"background-color:#6666cc;height:11;\"><img height=11 src=\"/image/UI_10.gif\" width=100%></td>\n")
document.write("</tr>\n</table>\n");
document.write("<TABLE class=HEADER_TABLE cellspacing=0 cellPadding=0>");
document.write("<TR class=FUN_LINE><TD class=FUN_TITLE rowspan=4 colspan=2>"+Menu[SelectItemIdx][0][DMAIN]+"</TD>");
document.write("<TD class=PRODUCTNAME>Wireless-G Broadband Router with 2 Phone Ports</TD>");
document.write("<TD class=MODELNAME>WRP400</TD></TR>");
document.write("<TR><TD colspan=2 class=FUN_LINE></TD></TR>");
document.write("<TR><TD colspan=2 class=NOSPACE cellspacing=0><TABLE cellspacing=0><TR>");
funw = parseInt(table_width/Menu.length);
for (i=0; i<Menu.length; i++)
{
if ( i== Menu.length-1 )
funw = funw + parseInt(table_width%Menu.length);
document.write("<TD width="+funw+" class=");
if ( i == SelectItemIdx )
document.write("PIC_SELECT_FUN");
else
document.write("PIC_OPTION_FUN");
document.write("></TD>");
}
document.write("</TR><TR>");
funw = parseInt(table_width/Menu.length);
for (i=0; i<Menu.length; i++)
{
if ( i== Menu.length-1 ) funw = funw + parseInt(table_width%Menu.length);
document.write("<TD width="+funw+" class=");
if ( i == SelectItemIdx )
document.write("OPTION_FUN_SEL>");
else
document.write("OPTION_FUN>");
document.write("<A href="+Menu[i][0][DLINK]+">"+Menu[i][0][DMAIN]+"</A>");
document.write("</TD>");
}
document.write("</TR></TABLE></TD></TR><TR><TD colspan=2><TABLE cellspacing=0><TR><TD class=SUBFUN><TABLE cellspacing=0><TR>");
for(i=0; i<Menu[SelectItemIdx].length; i++)
{
var menu_width;
menu_width=table_width/Menu[SelectItemIdx].length;
if ( i== Menu[SelectItemIdx].length-1 )
menu_width = menu_width+parseInt(table_width%Menu[SelectItemIdx].length);
document.write("<TD class=BLANKSPAN width=menu_width>");
document.write("<font class=small>");
if ( i != SelectSubItem )
{
document.write("<A href="+Menu[SelectItemIdx][i][DLINK]+">");
}
document.write(Menu[SelectItemIdx][i][DNAME]);
if ( i != SelectSubItem )
document.write("</A>");
document.write("</FONT></TD>");
if ( i != Menu[SelectItemIdx].length -1 )
document.write("<TD class=SUBFUN_DIV>|</TD>");
}
document.write("</TR></TABLE></TD></TR></TABLE></TD></TR>");
document.write("</TABLE>");
document.write("<table class=\"top3\" cellSpacing=0 cellPadding=0>\n");
document.write("<tr bgColor=black>\n");
document.write("<td class=\"mainTopL\">\n<img height=15 src=\"/image/UI_03.gif\" width=164>\n</td>\n");
document.write("<td class=\"mainTopR\">\n<img height=15 src=\"/image/UI_02.gif\" width=645>\n</td>\n</tr>\n</table>\n");
</script>
<tr>
<td colspan="3" align="center">
<script>
document.write("<table class=\"AutoNumber2\" cellSpacing=0 cellPadding=0 width='"+client_width+"' >");
</script>
<tr>
<script>
document.write("<td width='"+content_width2+"'>");
</script>
<table cellSpacing=0 cellPadding=0 border=0 width="100%" >
<tr>
<td class="Title">Username & Password</td>
<td class="Black1"> </td>
<td width=14> </td>
<td width=17> </td>
<td> </td>
<td width=80 align="right"></td>
<td width=80 align="right"></td>
<script>
var content_width3=content_width2-390;
document.write("<td width='"+content_width3+"'> </td>");
</script>
<td width="10"> </td>
<td class="cell02-img"> </td></tr>
<tr>
<td class="cell01"> </td>
<td class="cell01-img" > </td>
<td colSpan=3> </td>
<td colspan="3"> Please enter the password provided by service provider: </td>
<td width="10"> </td>
<td class="cell02-img"> </td></tr>
<tr>
<td class="cell01"> </td>
<td class="cell01-img" > </td>
<td colSpan=3> </td>
<td colspan="3"> </td>
<td width="10"> </td>
<td class="cell02-img"> </td></tr>
<tr>
<td class="cell01"> </td>
<td class="cell01-img" > </td>
<td colSpan=3> </td>
<td colspan="2"> Username :</td>
<td> <b><input type="text" name="user_id" style="width:150 "></b></td>
<td width="10"> </td>
<td class="cell02-img"> </td></tr>
<tr>
<td class="cell01"> </td>
<td class="cell01-img" > </td>
<td colSpan=3> </td>
<td colspan="2"> User Password :</td>
<td> <b><input type="password" name="user_pwd" style="width:150 "></b></td>
<td width="10"> </td>
<td class="cell02-img"> </td></tr>
<tr>
<td class="cell01"> </td>
<td class="cell01-img" > </td>
<td colSpan=3> </td>
<td colspan="3"> </td>
<td> </td>
<td class="cell02-img"> </td></tr>
</tr>
</table>
</td>
<td vAlign=top width=100% class="mostbg">
<table cellSpacing=0 cellPadding=0 width=100% border=0>
<TR>
<TD width='5%'> </TD>
<TD width='75%' align="left" valign="bottom"><a href="help/HLog_upgrade.asp" target="_blank" ><script>document.write(help_style);</script></a></TD>
<TD width='20%' height=25> </TD>
</TR>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="cell01"> </td>
<td class="cell01-img"> </td>
<td> </td>
<td class="mostbg" align="right" rowspan="2"><img height=64 src="image/UI_Cisco.gif" border=0></td>
</tr>
<tr>
<td class="Title"> </td>
<td class="Black1"> </td>
<td class="mostbg2">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><input type=submit name="" value="OK" class="applyButton"> <input type=button name="" value="Cancel" onclick="uiDoCancel()" class="applyButton"></td>
<td width="20"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div></body></HTML>
- bare skriv, hvis du skal ha en anden fil :)