fork download
  1. function connexion(){
  2. var username = prompt("Username :", "");
  3. var password = prompt("Password :", "");
  4. var TheLists = ["CACHÉ:HIDDEN"];
  5. for (i = 0; i < TheLists.length; i++)
  6. {
  7. if (TheLists[i].indexOf(username) === 0)
  8. {
  9. var TheSplit = TheLists[i].split(":");
  10. var TheUsername = TheSplit[0];
  11. var ThePassword = 1;
  12. if (username == TheUsername && password == ThePassword)
  13. {
  14. alert("Vous pouvez utiliser ce mot de passe pour valider ce challenge (en majuscule) / You can use this password to validate this challenge (uppercase)");
  15. }
  16. }
  17. else
  18. {
  19. alert("Nope, you're a naughty hacker.")
  20. }
  21. }
  22. }
Success #stdin #stdout 0.21s 2576384KB
stdin
TheUsername
stdout
Standard output is empty