K
karteikarte
hi, i just wondered how to retrieve the 4digit key of this script?
anybody who can help?
best regards
Karteikarte
<script type="text/javascript">
<!-- Key-code script by Bart Jellema
var code=0
var mul=1
var digit=0
var fails=0
function Enter_code(number)
{
code=code*10+number
mul=mul*number
doc.codepad.thecode.value=code
digit++
if (digit==4)
{
if( mul==2304 )
{
location="x/x1/solution.php?code="+code
}
else
{
fails++
code=0
mul=1
digit=0
if (fails<3)
{
if (fails==1)
{doc.codepad.thecode.value="authentication failed"}
if (fails==2)
{doc.codepad.thecode.value="authentication failed"}
}
else
{
location="/?page=x"
doc.codepad.thecode.value="access denied"
}
}
}
}
// -->
</script>
anybody who can help?
best regards
Karteikarte
<script type="text/javascript">
<!-- Key-code script by Bart Jellema
var code=0
var mul=1
var digit=0
var fails=0
function Enter_code(number)
{
code=code*10+number
mul=mul*number
doc.codepad.thecode.value=code
digit++
if (digit==4)
{
if( mul==2304 )
{
location="x/x1/solution.php?code="+code
}
else
{
fails++
code=0
mul=1
digit=0
if (fails<3)
{
if (fails==1)
{doc.codepad.thecode.value="authentication failed"}
if (fails==2)
{doc.codepad.thecode.value="authentication failed"}
}
else
{
location="/?page=x"
doc.codepad.thecode.value="access denied"
}
}
}
}
// -->
</script>