Skip to content

Instantly share code, notes, and snippets.

@obfio

obfio/sample.js Secret

Created March 11, 2024 15:25
Show Gist options
  • Save obfio/55b25c32821fc0d31fc511049f8f27b7 to your computer and use it in GitHub Desktop.
Save obfio/55b25c32821fc0d31fc511049f8f27b7 to your computer and use it in GitHub Desktop.
base sample for twitter JS challenge
function EDTlKNDGwdPcvkTMWkgJ() {
var knGjxgJCsTLGugqXlqiE = function() {
function fRrvQZZYkwqrdPtHYnpQ() {var a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=151;var a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03=39;var a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=173;var a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=35;a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03=a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03^new Date(a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03*10000000000).getUTCDate();a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03=a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03^new Date(a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03*10000000000).getUTCDate();a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03=a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03^a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf;a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00^new Date(a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00*10000000000).getUTCDate();a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03=~a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03;a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=function(ojGAY,HiYmZ,fMgMu){function SoyOL(pcTjK){this.Fknen=function(){return this.LxWbq^pcTjK;}};var hJeSP={LxWbq:fMgMu};var wbYcg=new SoyOL(ojGAY);wbYcg.LxWbq=HiYmZ;SoyOL.prototype=hJeSP;return wbYcg.Fknen()|(new SoyOL(HiYmZ)).Fknen();}(a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf,a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03,a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf);a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=~(a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00&a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00);a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=function(AsTKu,wsTfB,ZOIHJ){function wKASk(BRjNx){this.RTHAh=function(){return this.UCtOP^BRjNx;}};var XBviJ={UCtOP:ZOIHJ};var ibWRg=new wKASk(AsTKu);ibWRg.UCtOP=wsTfB;wKASk.prototype=XBviJ;return ibWRg.RTHAh()|(new wKASk(wsTfB)).RTHAh();}(a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00,a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00,a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03);a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=~a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf;a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549^new Date(a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549*10000000000).getUTCDate();a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=function(JARYx,kVIOB,rrsFB){var oVVti=document.createElement('div');oVVti.setAttribute('style','display:none;');document.getElementsByTagName('body')[0].appendChild(oVVti);function dbedB(AeLHT,eQDcO){for(var i=0;i<8;i++){var vplBk=document.createElement('div');AeLHT.appendChild(vplBk);vplBk.innerText=eQDcO;if((eQDcO&1)==0)AeLHT=vplBk;eQDcO=eQDcO>>1;}return AeLHT;};function YmZcR(vplBk,oVVti,eQDcO){if(!vplBk||vplBk==oVVti) return eQDcO%256;while(vplBk.children.length>0)vplBk.removeChild(vplBk.lastElementChild);return YmZcR(vplBk.parentNode,oVVti,eQDcO+parseInt(vplBk.innerText));};var eQDcO=YmZcR(dbedB(dbedB(dbedB(oVVti,JARYx),kVIOB),rrsFB),oVVti,0);oVVti.parentNode.removeChild(oVVti);return eQDcO;}(a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf,a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03,a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03);a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00|a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00;a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549^a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03;a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549&a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00;a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00&a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549;a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=~(a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00&a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00);a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=~(a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549&a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549);a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549^new Date(a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549*10000000000).getUTCDate();a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03=a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03|a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00;a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549^new Date(a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549*10000000000).getUTCDate();a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf&a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549;a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00^new Date(a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00*10000000000).getUTCDate();a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00&a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00;a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549^new Date(a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549*10000000000).getUTCDate();a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=~(a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549&a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549);a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=function(aazbJ,nKfog,fxgEm){var lrGKz=document.createElement('div');lrGKz.setAttribute('style','display:none;');document.getElementsByTagName('body')[0].appendChild(lrGKz);function pKmzb(rhSfs,BXgRp){for(var i=0;i<8;i++){var rdykT=document.createElement('div');rhSfs.appendChild(rdykT);rdykT.innerText=BXgRp;if((BXgRp&1)==0)rhSfs=rdykT;BXgRp=BXgRp>>1;}return rhSfs;};function sGgBP(rdykT,lrGKz,BXgRp){if(!rdykT||rdykT==lrGKz) return BXgRp%256;while(rdykT.children.length>0)rdykT.removeChild(rdykT.lastElementChild);return sGgBP(rdykT.parentNode,lrGKz,BXgRp+parseInt(rdykT.innerText));};var BXgRp=sGgBP(pKmzb(pKmzb(pKmzb(lrGKz,aazbJ),nKfog),fxgEm),lrGKz,0);lrGKz.parentNode.removeChild(lrGKz);return BXgRp;}(a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf,a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03,a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03);a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03=function(FPaTm,qgLPj,HOcjM){function WzxBl(OMtfI){this.EkSVZ=function(){return this.faogS^OMtfI;}};var wXxjx={faogS:HOcjM};var rYZPz=new WzxBl(FPaTm);rYZPz.faogS=qgLPj;WzxBl.prototype=wXxjx;return rYZPz.EkSVZ()|(new WzxBl(qgLPj)).EkSVZ();}(a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03,a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03,a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00);a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf^a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03;a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549=a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549^a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00;a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf=a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf^new Date(a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf*10000000000).getUTCDate();a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=~(a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00&a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf);a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00|a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf;a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00=function(MNwOp,veiVz,fruQC){var yqARQ=document.createElement('div');yqARQ.setAttribute('style','display:none;');document.getElementsByTagName('body')[0].appendChild(yqARQ);function gIZlC(IQchh,KEJXP){for(var i=0;i<8;i++){var iciUM=document.createElement('div');IQchh.appendChild(iciUM);iciUM.innerText=KEJXP;if((KEJXP&1)==0)IQchh=iciUM;KEJXP=KEJXP>>1;}return IQchh;};function SNIRF(iciUM,yqARQ,KEJXP){if(!iciUM||iciUM==yqARQ) return KEJXP%256;while(iciUM.children.length>0)iciUM.removeChild(iciUM.lastElementChild);return SNIRF(iciUM.parentNode,yqARQ,KEJXP+parseInt(iciUM.innerText));};var KEJXP=SNIRF(gIZlC(gIZlC(gIZlC(yqARQ,MNwOp),veiVz),fruQC),yqARQ,0);yqARQ.parentNode.removeChild(yqARQ);return KEJXP;}(a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00,a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf,a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf);return {'rf':{'a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549':a68d927e52e91be7d0491dc2b9d078a5e41fb6e8fdb26e1c969557e041eb1549,'a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03':a34cffe6a40e642fb7a4c101516ea0ed06eaef08c096c7f96656ca7913debc03,'a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf':a16cb280d0c47675ef1983a69f9fadd2f6f304f7a78b329ed934868ae97d59bf,'a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00':a18e9f89e839061e45c759ab01c2b5a56ad84d01b2e68830f070581d56214f00},'s':'nuqIwZdJ7gX71RtyJCuXPcuZ5DS7FOx_yFn-SQNGTBsYSz-hTaegbIs3fJPRMUKPtoy-QCe2BjnnaLbIubC1E0N6K4uOej_Kr9aTsoKWI6Oakem671KDKXPzl5HQt2MDb7Z4hYsR9c_k-QdUC3e_2YiwNHFTdOTLWyzjcEx3bwBMkXg1bJttCTN4i7kf35yT12MtN-7Km5UHClbVjHITTDETa7hx57L9oUrpEfSt_3D5nf9hfQSVMVCg1GW5_lMg_w0a1cafPf33Sf4bF3fc6Tjc3hQulaiaXXwZ_ht4J2j99UrnN_C4S5gNb9NwUv-rAqp17AozhESwTY-i15WC4QAAAY4uCVfL'};};
var rcNtpGNfYk;
try {
rcNtpGNfYk = JSON.stringify(fRrvQZZYkwqrdPtHYnpQ());
} catch (e) {
rcNtpGNfYk = "exception " + e;
}
var inputs;
inputs = document.getElementsByName('ui_metrics');
for (var i = 0; i < inputs.length; i++) { inputs[i].value = rcNtpGNfYk; }
}
var seBqKbECbCZyNyIriOkB = function() {
document.removeEventListener('DOMContentLoaded', seBqKbECbCZyNyIriOkB);
window.removeEventListener('load', seBqKbECbCZyNyIriOkB);
window.setTimeout(knGjxgJCsTLGugqXlqiE);
}
if (document.readyState === 'complete') {
window.setTimeout(knGjxgJCsTLGugqXlqiE);
} else {
document.addEventListener('DOMContentLoaded', seBqKbECbCZyNyIriOkB);
window.addEventListener('load', seBqKbECbCZyNyIriOkB);
}
};
EDTlKNDGwdPcvkTMWkgJ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment