Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/browser/get_visited_domains/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
7
class Get_visited_domains < BeEF::Core::Command
8
def self.options
9
[{
10
'name' => 'domains',
11
'description' => 'Specify additional resources to fetch during visited domains analysis. Paste to the below field full URLs leading to CSS, image, JS or other *static* resources hosted on desired page. Separate domain names with url by using semicolon (;). Next domains separate by comma (,).',
12
'type' => 'textarea',
13
'ui_label' => 'Specify custom page to check',
14
'value' => 'Github ; https://assets-cdn.github.com/favicon.ico,',
15
'width' => '400px',
16
'height' => '200px'
17
}]
18
end
19
20
def post_execute
21
content = {}
22
content['results'] = @datastore['results']
23
save content
24
end
25
end
26
27