Files
beef/modules/browser/hooked_domain/ajax_fingerprint/module.rb
2014-12-30 07:44:58 +10:00

19 lines
483 B
Ruby

#
# Copyright (c) 2006-2015 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Ajax_fingerprint < BeEF::Core::Command
def post_execute
content = {}
content['script_urls'] = @datastore['script_urls'] if not @datastore['script_urls'].nil?
if content.empty?
content['fail'] = 'Failed to fingerprint ajax.'
end
save content
end
end