Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var _0xc665 = [
- "", //00 ascii:
- "\x6C\x65\x6E\x67\x74\x68", //01 ascii: length
- "\x63\x68\x61\x72\x43\x6F\x64\x65\x41\x74", //02 ascii: charCodeAt
- "\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65", //03 ascii: fromCharCode
- "\x73\x75\x62\x73\x74\x72\x69\x6E\x67", //04 ascii: substring
- //05 ascii: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
- "\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4A\x4B\x4C\x4D\x4E\x4F\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5A\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7A\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2B\x2F\x3D",
- "\x75\x74\x66\x38\x5F\x65\x6E\x63\x6F\x64\x65", //06 ascii: utf8_encode
- "\x63\x68\x61\x72\x41\x74", //07 ascii: charAt
- "\x6A\x6F\x69\x6E", //08 ascii: join
- "\x73\x6C\x69\x63\x65", //09 ascii: slice
- "\x3D\x3D", //10 ascii: ==
- "\x3D", //11 ascii: =
- "\x76\x61\x6C\x75\x65", //12 ascii: value
- "\x75\x73\x65\x72\x6E\x61\x6D\x65", //13 ascii: username
- "\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64", //14 ascii: getElementById
- "\x70\x61\x73\x73\x77\x6F\x72\x64", //15 ascii: password
- "\x70\x32", //16 ascii: p2
- "\x73\x75\x62\x6D\x69\x74", //17 ascii: submit
- "\x66\x6F\x72\x6D" //18 ascii: form
- ];
- function utf8_encode(_0xfe63x2){
- var _0xfe63x3=(_0xfe63x2+_0xc665[0]);
- var _0xfe63x4=_0xc665[0];
- var _0xfe63x5,_0xfe63x6;
- var _0xfe63x7=0;
- _0xfe63x5=_0xfe63x6=0;
- _0xfe63x7=_0xfe63x3[_0xc665[1]];
- for(var _0xfe63x8=0; _0xfe63x8<_0xfe63x7; _0xfe63x8++) {
- var _0xfe63x9=_0xfe63x3[_0xc665[2]](_0xfe63x8);
- var _0xfe63xa=null;
- if(_0xfe63x9<128) {
- _0xfe63x6++;
- } else {
- if(_0xfe63x9 > 127 && _0xfe63x9 < 2048) {
- _0xfe63xa = String[_0xc665[3]]((_0xfe63x9 >> 6) | 192) + String[_0xc665[3]]((_0xfe63x9&63)|128);
- } else {
- _0xfe63xa = String[_0xc665[3]]((_0xfe63x9 >> 12) | 224) + String[_0xc665[3]](((_0xfe63x9 >> 6) & 63) | 128)+String[_0xc665[3]]((_0xfe63x9&63)|128);
- };
- };
- if(_0xfe63xa !== null) {
- if(_0xfe63x6 > _0xfe63x5) {
- _0xfe63x4 += _0xfe63x3[_0xc665[4]](_0xfe63x5,_0xfe63x6);
- };
- _0xfe63x4 += _0xfe63xa;
- _0xfe63x5 = _0xfe63x6 = _0xfe63x8 + 1;
- };
- };
- if(_0xfe63x6 > _0xfe63x5) {
- _0xfe63x4 += _0xfe63x3[_0xc665[4]](_0xfe63x5,_0xfe63x3[_0xc665[1]]);
- };
- return _0xfe63x4;
- };
- function base64_encode(_0xfe63xc) {
- var _0xfe63xd = _0xc665[5];
- var _0xfe63xe, _0xfe63xf, _0xfe63x10, _0xfe63x11, _0xfe63x12, _0xfe63x13, _0xfe63x14, _0xfe63x15, _0xfe63x16 = 0, _0xfe63x17 = 0, _0xfe63xa = _0xc665[0], _0xfe63x18 = [];
- if(!_0xfe63xc) {
- return _0xfe63xc;
- };
- _0xfe63xc = this[_0xc665[6]](_0xfe63xc + _0xc665[0]);
- do {
- _0xfe63xe = _0xfe63xc[_0xc665[2]](_0xfe63x16++);
- _0xfe63xf = _0xfe63xc[_0xc665[2]](_0xfe63x16++);
- _0xfe63x10 = _0xfe63xc[_0xc665[2]](_0xfe63x16++);
- _0xfe63x15 = _0xfe63xe << 16 | _0xfe63xf << 8 | _0xfe63x10;
- _0xfe63x11 = _0xfe63x15 >> 18 & 0x3f;
- _0xfe63x12 = _0xfe63x15 >> 12 & 0x3f;
- _0xfe63x13 = _0xfe63x15 >> 6 & 0x3f;
- _0xfe63x14 = _0xfe63x15 & 0x3f;
- _0xfe63x18[_0xfe63x17++] = _0xfe63xd[_0xc665[7]](_0xfe63x11) + _0xfe63xd[_0xc665[7]](_0xfe63x12) + _0xfe63xd[_0xc665[7]](_0xfe63x13) + _0xfe63xd[_0xc665[7]](_0xfe63x14);
- } while( _0xfe63x16 < _0xfe63xc[_0xc665[1]]);
- _0xfe63xa = _0xfe63x18[_0xc665[8]](_0xc665[0]);
- switch(_0xfe63xc[_0xc665[1]] % 3) {
- case 1:
- _0xfe63xa = _0xfe63xa[_0xc665[9]](0,-2) + _0xc665[10];
- break;
- case 2:
- _0xfe63xa = _0xfe63xa[_0xc665[9]](0,-1) + _0xc665[11];
- break;
- };
- return _0xfe63xa;
- };
- function doSubmit() {
- var username = document.getElementById("username").value;
- var password = document.getElementById("password").value;
- var _0xfe63x1c = 0;
- for(var i = 0; i < password.length; i++) {
- _0xfe63x1c += password.charCodeAt(i);
- };
- document.getElementById("p2").value = base64_encode(_0xfe63x1c);
- document.getElementById("form").submit();
- };
- </script>
Add Comment
Please, Sign In to add comment