ich hab ein problem:
ich muss das passwort davon herausbekommen aber ich finde es nicht.
der Code sieht so aus
dieses hehehe ist schon da gewesen und hat mich ein bisschen irritiert
<body bgcolor="hehehe" topmargin="2" leftmargin="2"
marginwidth="2" marginheight="2" text="#FFFFFF" link="#00FFFF"
vlink="#FF0000" alink="#00FFFF">
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
function pw (form)
{
var d1, d2, d3;
d1=window.document.bgColor;
d2=form.Name.value;
d3=form.Password.value;
if (d2==d1.length) {
if (d3==d1) {
window.open (d1.substr(1, 10)+".php","_self")
} else {
alert("Sorry all wrong.")
}
} else {
alert("Sorry all wrong.")
}
}
</script>
<table width="100%" height="1024" bgcolor="#ffffff"><tr><td valign=top>
<Div style="background-color:#0A6CCE;">
<img src="microsoft.gif"/>
</Div>
<center>
<form name="form" action="" method="post">
Username<br>
<input id="Eingabefeld2" type="TEXT" name="Name" value=""
size="30" maxlength="30"><br>
Password<br>
<input id="Eingabefeld1" type="TEXT" name="Password"
value="" size="30" maxlength="30"><br><br>
<input type="BUTTON" name="Schaltflächen1" value=
"Enter Site" id="Schaltflaechen1" onclick=
"pw(this.form)">
</form>
</center>
so weit ich weiss ist d2 der name und d3 das passwort.
d2 ist auch die länge von d1, welches die backgroundcolor ist.
könntet ihr mir vllt sogar hinweise geben wie ich weitermachen muss oder bin ich atm auf dem falschen weg? ?(
thx im voraus für eure hilfe
ich muss das passwort davon herausbekommen aber ich finde es nicht.
der Code sieht so aus
dieses hehehe ist schon da gewesen und hat mich ein bisschen irritiert
<body bgcolor="hehehe" topmargin="2" leftmargin="2"
marginwidth="2" marginheight="2" text="#FFFFFF" link="#00FFFF"
vlink="#FF0000" alink="#00FFFF">
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
function pw (form)
{
var d1, d2, d3;
d1=window.document.bgColor;
d2=form.Name.value;
d3=form.Password.value;
if (d2==d1.length) {
if (d3==d1) {
window.open (d1.substr(1, 10)+".php","_self")
} else {
alert("Sorry all wrong.")
}
} else {
alert("Sorry all wrong.")
}
}
</script>
<table width="100%" height="1024" bgcolor="#ffffff"><tr><td valign=top>
<Div style="background-color:#0A6CCE;">
<img src="microsoft.gif"/>
</Div>
<center>
<form name="form" action="" method="post">
Username<br>
<input id="Eingabefeld2" type="TEXT" name="Name" value=""
size="30" maxlength="30"><br>
Password<br>
<input id="Eingabefeld1" type="TEXT" name="Password"
value="" size="30" maxlength="30"><br><br>
<input type="BUTTON" name="Schaltflächen1" value=
"Enter Site" id="Schaltflaechen1" onclick=
"pw(this.form)">
</form>
</center>
so weit ich weiss ist d2 der name und d3 das passwort.
d2 ist auch die länge von d1, welches die backgroundcolor ist.
könntet ihr mir vllt sogar hinweise geben wie ich weitermachen muss oder bin ich atm auf dem falschen weg? ?(
thx im voraus für eure hilfe