Advertisement
Guest User

Untitled

a guest
Jul 9th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <script>
  2. function submitentry(){
  3. password = document.password1.password2.value.toLowerCase()
  4. username = document.password1.username2.value.toLowerCase()
  5. passcode = 1
  6. usercode = 1
  7. for(i = 0; i < password.length; i++) {
  8. passcode *= password.charCodeAt(i);
  9. }
  10. for(x = 0; x < username.length; x++) {
  11. usercode *= username.charCodeAt(x);
  12. }
  13. if(usercode==3644184600&&passcode==1)
  14. {
  15. window.location=password+"jw62k.htm"}
  16. else{
  17. alert("password/username combination wrong")}
  18. }
  19.  
  20. </script>
  21. <img src="/cap.png">
  22. <form name="password1"><strong>Enter Image Code </strong> <input name="username2" size="15" type="text"> <br>
  23. <input name="password2" size="15" type="hidden"> <input onclick="submitentry()" value="Submit" type="button"> </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement