From 3a10a15aae28b8ff5646287d2e253d9f82af2b5b Mon Sep 17 00:00:00 2001 From: bcoles Date: Sun, 2 Apr 2023 21:10:30 +1000 Subject: [PATCH] cryptoloot_miner: Remove cryptoloot_miner module (#2787) --- modules/misc/cryptoloot_miner/config.yaml | 19 --------------- modules/misc/cryptoloot_miner/module.rb | 28 ----------------------- 2 files changed, 47 deletions(-) delete mode 100644 modules/misc/cryptoloot_miner/config.yaml delete mode 100644 modules/misc/cryptoloot_miner/module.rb diff --git a/modules/misc/cryptoloot_miner/config.yaml b/modules/misc/cryptoloot_miner/config.yaml deleted file mode 100644 index 3b9aa9a34..000000000 --- a/modules/misc/cryptoloot_miner/config.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# -# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net -# Browser Exploitation Framework (BeEF) - http://beefproject.com -# See the file 'doc/COPYING' for copying permission -# -# Module by Zaur Molotnikov, 2017 -# For the use in test purposes only -# Inspired by coinhive integration (copied and modified) -# -beef: - module: - cryptoloot_miner: - enable: true - category: "Misc" - name: "Crypto-Loot Miner" - description: "This module starts the Crypto-Loot Miner. It's worth noting that the module will not work with the default Crypto-Loot proxies as the certificates for the web socket servers are self-signed." - authors: ["qutorial"] - target: - user_notify: ['ALL'] diff --git a/modules/misc/cryptoloot_miner/module.rb b/modules/misc/cryptoloot_miner/module.rb deleted file mode 100644 index 8e84b4dff..000000000 --- a/modules/misc/cryptoloot_miner/module.rb +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net -# Browser Exploitation Framework (BeEF) - http://beefproject.com -# See the file 'doc/COPYING' for copying permission -# -# This module is written by Zaur Molotnikov, 2017 -# Only for the use for test purposes! -# Inspired by the coinhive miner integration (copied and modified). -# - -class Cryptoloot_miner < BeEF::Core::Command - def self.options - [{ 'name' => 'public_token', - 'description' => 'Public Token', - 'ui_label' => 'Public Token', - 'value' => 'ae5c906cfd37610626e86e25786866d6d2ff1c258d5f', - 'type' => 'text' }, - { 'name' => 'report_interval', - 'description' => 'Report Interval (in seconds)', - 'ui_label' => 'Report Interval (s)', - 'value' => '30', - 'type' => 'text' }] - end - - def post_execute - save({ 'result' => @datastore['result'] }) - end -end