Jump to content

[Resolvido] descobrir a password neste código....


Guest plop
 Share

Recommended Posts

Ola, um amigo meu lançou-me este desafio, por este código tentar chegar á password. E o que eu acho é que é impossivel, por utilizar o CGI.... Se me pudessem ajudar....

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<title></title>
<script language="JavaScript">
<!--
var window_top = (screen.height-300)/2;
var window_left = (screen.width-550)/2;

function DownloadUrl() {

window.open("/cgi-bin/fca_downl.cgi/?user="+document.dload.user.value+"&passw="+document.dload.passw.value+"&isbn="+document.dload.isbn.value,"download","width=550,height=300"+ ",top=" + window_top + ",left=" + window_left);

}


/*
Disable right mouse click Script (By Crash @ http://walk.to/crash)
Submitted to and permission granted to Dynamicdrive.com to feature script in it's archive
For full source code to this script and 100's more, visit 
http://dynamicdrive.com
*/

var message="Função desactivada";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
//-->
</script>

</head>

<body background="../media/back3.gif" bgcolor="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF"
alink="#FFFF00">

<p><a name="topo"></a></p>

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table3">
  <tr>
    <td width="50%" bgcolor="#000000"><a name="download"><font face="MS Sans Serif"
    color="#FFFFFF" size="3"><strong>Login</strong></font></a></td>
    <td width="50%" bgcolor="#000000" valign="middle" align="right"><font face="Verdana"
    size="1" color="#FFFFFF"><strong><a href="#topo">Topo</a></strong></font></td>
  </tr>
</table>
<p> </p>
<form name="dload">
<input type="hidden" name="isbn" value="972-722-437-7">
<table border="0" id="table4">
<tr>
<td align="right" valign="middle"><font face="Verdana" size="2"><strong>Username :</strong></font>
</td>

<td align="center" valign="middle"><input type="text" name="user" maxlength="15" height="50" size="20" class="form" value="">
</td>
<td rowspan="2" align="center" valign="middle">
<input type="button" value="   Download   " onClick="DownloadUrl();"	height="40" width="50" name="Button">
</td>
</tr>
<tr>
<td align="right" valign="middle"><strong><font face="Verdana" size="2">Password :</font></strong>
</td>

<td align="center" valign="middle"><input type="text" name="passw" maxlength="15" size="20" class="form" value="">
</td>					    
</tr>
</table>
</form>

</body>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.