Moved Detect Default Browser module to Host category

This commit is contained in:
bcoles
2014-03-20 00:58:16 +10:30
parent fab0bf6b24
commit 97898d453c
3 changed files with 2 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
#
# Copyright (c) 2006-2014 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Detect_default_browser < BeEF::Core::Command
def post_execute
content = {}
content['browser'] = @datastore['browser'] if not @datastore['browser'].nil?
save content
end
end