Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function connexion(){
- var username = prompt("Username :", "");
- var password = prompt("Password :", "");
- var TheLists = new Array(3)
- {
- TheLists[0] = "CACHÉ:HIDDEN";
- }
- for (i = 0; i < TheLists.length; i++)
- {
- if (TheLists[i].indexOf(username) == 0)
- {
- var TheSplit = TheLists[i].split(":");
- var TheUsername = TheSplit[0];
- var ThePassword = TheSplit[1];
- if (username == TheUsername && password == ThePassword)
- {
- alert("Vous pouvez utiliser ce mot de passe pour valider ce challenge (en majuscule) / You ca use this password to validate this challenge (uppercase)");
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment