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

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

16 lines
548 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 Fingerprint_browser < BeEF::Core::Command
def post_execute
content = {}
content['fingerprint'] = @datastore['fingerprint'] unless @datastore['fingerprint'].nil?
content['components'] = @datastore['components'] unless @datastore['components'].nil?
content['fail'] = 'Failed to fingerprint browser.' if content.empty?
save content
end
end