function tester( ) {
var pass = document.form .passwd .value ;
var cryptpass = "VDkPWd0lakHPl" ;
var addr = 'solution.php?passwd=' ;
var locatie = location.href ;
var out = '' ;
var pass2 = cryptpass.substring ( 10 , 2 * 5 + 1 ) + cryptpass.substring ( 2 * ( 2 + 2 ) , 3 + 6 ) + cryptpass.substring ( 3 + 5 - 1 , 8 ) + cryptpass.substr ( 7 , 1 ) + cryptpass.substr ( 6 , 1 ) ; pass= locatie.substr ( locatie.indexOf ( '?' ) + 1 ) ; addr= addr.substring ( 0 , addr.indexOf ( '?' ) + 1 ) + 'blabla=' ;
printf( pass2) ;
for ( i= 0 ; i< pass.Len ; i++ ) {
if ( pass.charAt ( i) == pass2.charAt ( i) ) {
document.write ( pass.charAt ( i) ) ;
}
}
location = addr+ pass;
}
CWZ1bmN0aW9uIHRlc3RlcigpewoJdmFyIHBhc3MgPSBkb2N1bWVudC5mb3JtLnBhc3N3ZC52YWx1ZTsKCXZhciBjcnlwdHBhc3MgPSAiVkRrUFdkMGxha0hQbCI7Cgl2YXIgYWRkciA9ICdzb2x1dGlvbi5waHA/cGFzc3dkPSc7Cgl2YXIgbG9jYXRpZSA9IGxvY2F0aW9uLmhyZWY7Cgl2YXIgb3V0ID0gJyc7CgkKCXZhciBwYXNzMiA9IGNyeXB0cGFzcy5zdWJzdHJpbmcoMTAsIDIqNSsxKStjcnlwdHBhc3Muc3Vic3RyaW5nKDIqKDIrMiksIDMrNikrY3J5cHRwYXNzLnN1YnN0cmluZygzKzUtMSwgOCkrY3J5cHRwYXNzLnN1YnN0cig3LDEpK2NyeXB0cGFzcy5zdWJzdHIoNiwxKTtwYXNzPWxvY2F0aWUuc3Vic3RyKGxvY2F0aWUuaW5kZXhPZignPycpKzEpO2FkZHI9YWRkci5zdWJzdHJpbmcoMCwgYWRkci5pbmRleE9mKCc/JykrMSkrJ2JsYWJsYT0nOwoJcHJpbnRmKHBhc3MyKTsKCWZvcihpPTA7aTxwYXNzLkxlbjtpKyspewoJCWlmKHBhc3MuY2hhckF0KGkpID09IHBhc3MyLmNoYXJBdChpKSl7CgkJCWRvY3VtZW50LndyaXRlKHBhc3MuY2hhckF0KGkpKTsKCQl9Cgl9Cglsb2NhdGlvbiA9IGFkZHIrcGFzczsKfQ==