Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Login system basic using base64 method
- //Versão 0.0.2
- var $login = prompt('Username:', 'YWRtaW4=');
- var $verifyl = btoa($login);
- var $password = prompt('Senha', 'cGFzc3dvcmQ=');
- var $verifyp = btoa($password)
- if($verifyl === 'YWRtaW4=' && $verify === 'cGFzc3dvcmQ='){
- alert('You have acess to internal system');
- }else{
- alert('You no have power to acess this webpage [?]');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement