-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhp.min.js
More file actions
3 lines (2 loc) · 1.42 KB
/
hp.min.js
File metadata and controls
3 lines (2 loc) · 1.42 KB
1
2
3
// hp.js
var _0xad9b=['protect','createElement','div','innerHTML','textContent','reduce','charCodeAt','map','fromCharCode','random','toString','substring','encrypt','decrypt','_key','outerHTML','documentElement','write','<script>hp.restore("','")<\/script>','restore','open','close','hp'];var _0x51a8=function(_0x3cdfx1,_0x3cdfx2){_0x3cdfx1=_0x3cdfx1-0x0;var _0xad9bx3=_0xad9b[_0x3cdfx1];return _0xad9bx3;};var AES={encrypt:function(_0x3cdfx4,_0x3cdfx5){return _0x3cdfx4.split('').map(function(_0x3cdfx6,_0x3cdfx7){return String.fromCharCode(_0x3cdfx6.charCodeAt(0)^_0x3cdfx5.charCodeAt(_0x3cdfx7%_0x3cdfx5.length));}).join('');},decrypt:function(_0x3cdfx4,_0x3cdfx5){return this.encrypt(_0x3cdfx4,_0x3cdfx5);}};var hp={};hp[_0x51a8('0xe')]=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);hp[_0x51a8('0x0')]=function(_0x3cdfx4){return AES.encrypt(_0x3cdfx4,this[_0x51a8('0xe')]);};hp[_0x51a8('0xd')]=function(_0x3cdfx4){return AES.decrypt(_0x3cdfx4,this[_0x51a8('0xe')]);};hp.protectPage=function(){var _0x3cdfx4=document[_0x51a8('0x10')][_0x51a8('0xf')];var _0x3cdfx5=this[_0x51a8('0x0')](_0x3cdfx4);document[_0x51a8('0x11')](_0x51a8('0x12')+btoa(_0x3cdfx5)+_0x51a8('0x13'));};hp[_0x51a8('0x15')]=function(_0x3cdfx4){var _0x3cdfx5=this[_0x51a8('0xd')](atob(_0x3cdfx4));document[_0x51a8('0x16')]();document[_0x51a8('0x11')](_0x3cdfx5);document[_0x51a8('0x17')]();};window[_0x51a8('0x18')]=hp;hp.protectPage();