SHARE
TWEET

Untitled

a guest Jun 7th, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //First part
  2. var currentTime = new Date();
  3. var day = currentTime.getDate();
  4. var username = day;
  5. var password = username;
  6. var url ="level8-fdgf.html";
  7. var nextstep =url.split("-",1)+ ".zip";
  8. //-----------
  9.  
  10. //Second part
  11. function passwd(input){
  12.  
  13. if (input == password){
  14.  
  15.     alert("Access granted.");
  16.     location.href = nextstep;
  17. }
  18. else    {
  19.  
  20.     alert("Access denied.");
  21.    
  22.     }
  23.  
  24. }
  25.  
  26. //---------
  27.  
  28. // I need to get the password..
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top