Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/exploits/zeroshell/zeroshell_2_0rc2_scanner/module.rb
1154 views
1
#
2
# Copyright (c) 2006-2025 Wade Alcorn - [email protected]
3
# Browser Exploitation Framework (BeEF) - https://beefproject.com
4
# See the file 'doc/COPYING' for copying permission
5
#
6
class Zeroshell_2_0rc2_scanner < BeEF::Core::Command
7
def self.options
8
[
9
{ 'name' => 'ip_start', 'ui_label' => 'From IP', 'value' => '192.168.0.1' },
10
{ 'name' => 'ip_end', 'ui_label' => 'To IP', 'value' => '192.168.0.254' },
11
{ 'name' => 'timeout', 'ui_label' => 'Get result in (ms)', 'value' => '30000' },
12
{ 'name' => 'ip_bloc', 'ui_label' => 'Scan per bloc (ip)', 'value' => '100' }
13
]
14
end
15
16
def post_execute
17
save({ 'result' => @datastore['result'] })
18
end
19
end
20
21