Files
beef/modules/misc/cryptoloot_miner/module.rb
jcrew99 486a9bb329 Update copyright 2023 (#2675)
* updated copyright

* reverted gemfile lock changes
2022-12-31 15:36:07 +10:00

29 lines
876 B
Ruby

#
# 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