Files
jcrew99 486a9bb329 Update copyright 2023 (#2675)
* updated copyright

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

20 lines
682 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
#
class Zeroshell_2_0rc2_scanner < BeEF::Core::Command
def self.options
[
{ 'name' => 'ip_start', 'ui_label' => 'From IP', 'value' => '192.168.0.1' },
{ 'name' => 'ip_end', 'ui_label' => 'To IP', 'value' => '192.168.0.254' },
{ 'name' => 'timeout', 'ui_label' => 'Get result in (ms)', 'value' => '30000' },
{ 'name' => 'ip_bloc', 'ui_label' => 'Scan per bloc (ip)', 'value' => '100' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end