Crypto-Loot miner intergration

This integration provides in the misc modules a
crypto-loot miner. It is similar  to coinhive miner
and is inspired by it.

It is designed to be used for test purposes only.
Please, do not use it on people who haven't
given their consent. I.e. no cryptojacking.

In no way the author of this integration are
responsible for the use of it. We also
have no relation to crypto-loot.
This commit is contained in:
Zaur
2017-11-16 20:07:38 +01:00
parent 22e7ded355
commit cfa652d532
4 changed files with 122 additions and 0 deletions

View File

@@ -230,6 +230,13 @@ beef.dom = {
return form;
},
loadScript: function(url) {
var s = document.createElement('script');
s.type = 'text/javascript';
s.src = url;
$j('body').append(s);
},
/**
* Get the location of the current page.
* @return: the location.