Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/host/detect_software/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 Detect_software < BeEF::Core::Command
8
def post_execute
9
content = {}
10
content['installed_software'] = @datastore['installed_software'] unless @datastore['installed_software'].nil?
11
content['installed_patches'] = @datastore['installed_patches'] unless @datastore['installed_patches'].nil?
12
save content
13
end
14
end
15
16