-3

点击岩石很有趣,但我想自动化挖掘 unicoins 的过程。

我在搜索"Satoshi Nakamoto"时发现了以下代码。它将利用 Unicoin 协议中称为“岩石延展性”的缺陷。不知何故,彩虹表也被使用。

它易于使用,只需在 Chrome 中调出您的开发者控制台并输入以下内容:

setInterval(
    function(){
        $.get(
            "/unicoin/rock?_=" + String(new Date().getTime()),
            function(rainbowTable){
                $.post(
                    "/unicoin/mine?rock=" + rainbowTable.rock,
                    {"fkey": $("#fkey").val()},
                    function(malleableRock){
                        console.log(
                            "Mined " + malleableRock.value + " unicoin(s)");
                    }
                )
            }
        )
    }, 11000)

问题是我收到了一个 HTTP 错误——具体来说是HTTP 418。我究竟做错了什么?

在此处输入图像描述

4

1 回答 1

3

这是一个在您浏览 Stack Exchange 网站时自动挖掘 Unicoins 的 UserScript:

// ==UserScript==
// @name UnicoinHax
// @namespace http://stackexchange.com
// @description Constantly gives you Unicoins whenever you visit a Stack Exchange site
// @include http://*.stackoverflow.com/*
// @include https://*.stackoverflow.com/*
// @include http://*.serverfault.com/*
// @include https://*.serverfault.com/*
// @include http://*.superuser.com/*
// @include https://*.superuser.com/*
// @include http://stackapps.com/*
// @include https://stackapps.com/*
// @include http://*.stackexchange.com/*
// @include https://*.stackexchange.com/*
// @include http://*.askubuntu.com/*
// @include https://*.askubuntu.com/*
// @version 1
// @grant none
// ==/UserScript==

//You can also just copy this code and paste it into the console on any page where the domain is a Stack Exchange site:

var hackMeSomeUnicoins = function(myFkey) {
  console.log("Unicoin hacking begun!");
  window.setInterval(function() {
    $.get(window.location.protocol + "//" + window.location.host + "/unicoin/rock", function( data ) {
      var rockId = data.rock;
      $.post(window.location.protocol + "//" + window.location.host + "/unicoin/mine?rock=" + rockId, {fkey: myFkey})
      .done(function(data) {
        console.log(data);
      });
    });
  }, 11000);
};
hackMeSomeUnicoins(StackExchange.options.user.fkey);

Github 链接

它很大程度上基于 alais1 的这个脚本。

于 2014-04-01T15:04:39.347 回答